Skip to main content

DiagramCustomShape.TemplateHeight Property

Specifies the shape template’s fractional height.

Namespace: DevExpress.Web.ASPxDiagram

Assembly: DevExpress.Web.ASPxDiagram.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(typeof(decimal), "1")]
public decimal TemplateHeight { get; set; }

Property Value

Type Default Description
Decimal "1"

A decimal number from 0 to 1.

Remarks

The TemplateHeight specifies a fraction from 0 to 1 that represents the shape template height in relation to the shape height. If the TemplateHeight property is set to 1, the template height is equal to the shape height.

The absolute template height is calculated by multiplying the TemplateHeight value by the shape height.

See Also