Class Diamond
A diamond shape class.
Inheritance
Namespace: Telerik.Windows.Shapes
Assembly: Telerik.Windows.Controls.dll
Syntax
public sealed class Diamond : Shape
Constructors
Diamond()
Declaration
public Diamond()
Properties
DefiningGeometry
Gets a value that represents the System.Windows.Media.Geometry of the System.Windows.Shapes.Shape.
Declaration
protected override Geometry DefiningGeometry { get; }
Property Value
System.Windows.Media.Geometry
|
Methods
ArrangeOverride(Size)
Arranges a System.Windows.Shapes.Shape by evaluating its System.Windows.Shapes.Shape.RenderedGeometry and System.Windows.Shapes.Shape.Stretch properties.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
System.Windows.Size
finalSize
The final evaluated size of the System.Windows.Shapes.Shape. |
Returns
System.Windows.Size
The final size of the arranged System.Windows.Shapes.Shape element. |
MeasureOverride(Size)
Measures a System.Windows.Shapes.Shape during the first layout pass prior to arranging it.
Declaration
protected override Size MeasureOverride(Size constraint)
Parameters
System.Windows.Size
constraint
A maximum System.Windows.Size to not exceed. |
Returns
System.Windows.Size
The maximum System.Windows.Size for the System.Windows.Shapes.Shape. |