Class Overlay
Overlay control used in the OverlayEffect.
Inheritance
Namespace: Sartorius.SAF.Presentation.Controls
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
public class Overlay : Shape, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient
Constructors
View SourceOverlay()
Initializes a new instance of the Overlay class.
Declaration
public Overlay()
Properties
View SourceDefiningGeometry
Declaration
protected override Geometry DefiningGeometry { get; }
Property Value
| Type | Description |
|---|---|
| Geometry |
Overrides
View SourceGeometryTransform
Gets a value that represents a Transform that is applied to the geometry of a Shape prior to when it is drawn.
Declaration
public override Transform GeometryTransform { get; }
Property Value
| Type | Description |
|---|---|
| Transform | A Transform that is applied to the geometry of a Shape prior to when it is drawn. |
Overrides
View SourceHasGaps
Gets a value indicating whether this instance has gaps.
Declaration
protected bool HasGaps { get; }
Property Value
| Type | Description |
|---|---|
| bool |
|
RenderedGeometry
Declaration
public override Geometry RenderedGeometry { get; }
Property Value
| Type | Description |
|---|---|
| Geometry |
Overrides
Methods
View SourceArrangeOverride(Size)
Arranges a Shape by evaluating its RenderedGeometry and Stretch properties.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
| Type | Name | Description |
|---|---|---|
| Size | finalSize | The final evaluated size of the Shape. |
Returns
| Type | Description |
|---|---|
| Size | The final size of the arranged Shape element. |
Overrides
View SourceMeasureOverride(Size)
Measures a Shape during the first layout pass prior to arranging it.
Declaration
protected override Size MeasureOverride(Size constraint)
Parameters
| Type | Name | Description |
|---|---|---|
| Size | constraint | A maximum Size to not exceed. |
Returns
| Type | Description |
|---|---|
| Size |
Overrides
View SourceOnRender(DrawingContext)
Provides a means to change the default appearance of a Shape element.
Declaration
[SuppressMessage("Design", "CA1062:Validate arguments of public methods", Justification = "Parameter drawingContext is never null")]
protected override void OnRender(DrawingContext drawingContext)
Parameters
| Type | Name | Description |
|---|---|---|
| DrawingContext | drawingContext | A DrawingContext object that is drawn during the rendering pass of this Shape. |
Overrides
View SourceResetRenderedGeometry()
Resets the rendered geometry.
Declaration
protected void ResetRenderedGeometry()
SetExclusionLayers(IEnumerable<IEnumerable<FrameworkElement>>)
Sets the exclusions.
Declaration
public void SetExclusionLayers(IEnumerable<IEnumerable<FrameworkElement>> elementLayers)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<IEnumerable<FrameworkElement>> | elementLayers | The elements. |