New to Telerik UI for WPFStart a free 30-day trial

Diamond

Class

A diamond shape class.

Definition

Namespace:Telerik.Windows.Shapes

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public sealed class Diamond : Shape

Inheritance: objectDiamond

Constructors

C#
public Diamond()

Properties

Gets a value that represents the Geometry of the Shape.

C#
protected override Geometry DefiningGeometry { get; }

Methods

Arranges a Shape by evaluating its and properties.

C#
protected override Size ArrangeOverride(Size finalSize)
Parameters:finalSizeSize

The final evaluated size of the Shape.

Returns:

Size

The final size of the arranged Shape element.

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

C#
protected override Size MeasureOverride(Size constraint)
Parameters:constraintSize

A maximum Size to not exceed.

Returns:

Size

The maximum Size for the Shape.