Class
Diamond

A diamond shape class.

Definition

Namespace:Telerik.Windows.Shapes

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
public sealed class Diamond : Shape

Inheritance: objectDiamond

Constructors

Diamond()

Declaration

cs-api-definition
public Diamond()

Properties

DefiningGeometry

Gets a value that represents the Geometry of the Shape.

Declaration

cs-api-definition
protected override Geometry DefiningGeometry { get; }

Property Value

Geometry

Methods

ArrangeOverride(Size)

Arranges a Shape by evaluating its and properties.

Declaration

cs-api-definition
protected override Size ArrangeOverride(Size finalSize)

Parameters

finalSize

Size

The final evaluated size of the Shape.

Returns

Size

The final size of the arranged Shape element.

MeasureOverride(Size)

Measures a Shape during the first layout pass prior to arranging it.

Declaration

cs-api-definition
protected override Size MeasureOverride(Size constraint)

Parameters

constraint

Size

A maximum Size to not exceed.

Returns

Size

The maximum Size for the Shape.