Class Rectangle
Implements Rectangle shape
Inherited Members
Namespace: EmptyKeys.UserInterface.Shapes
Assembly: EmptyKeys.UserInterface.dll
Syntax
public sealed class Rectangle : Shape
Constructors
Rectangle()
Initializes a new instance of the Rectangle class.
Declaration
public Rectangle()
Fields
RadiusXProperty
The radius x property
Declaration
public static readonly DependencyProperty RadiusXProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
RadiusYProperty
The radius y property
Declaration
public static readonly DependencyProperty RadiusYProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
DefiningGeometry
Gets the defining geometry.
Declaration
protected override Geometry DefiningGeometry { get; }
Property Value
Type | Description |
---|---|
Geometry | The defining geometry. |
Overrides
RadiusX
Gets or sets the radius x.
Declaration
public float RadiusX { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The radius x. |
RadiusY
Gets or sets the radius y.
Declaration
public float RadiusY { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The radius y. |
RenderedGeometry
Gets the rendered geometry.
Declaration
public override Geometry RenderedGeometry { get; }
Property Value
Type | Description |
---|---|
Geometry | The rendered geometry. |
Overrides
Methods
ArrangeOverride(Size)
Arrange layout pass - overrider method for children
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
Type | Name | Description |
---|---|---|
EmptyKeys.UserInterface.Size | finalSize | The final size. |
Returns
Type | Description |
---|---|
EmptyKeys.UserInterface.Size |
Overrides
MeasureOverride(Size)
Measure layout pass
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
EmptyKeys.UserInterface.Size | availableSize | available size for element |
Returns
Type | Description |
---|---|
EmptyKeys.UserInterface.Size |