Skip to main content
All docs
V25.1
  • DiagramCustomShape.TemplateHeight Property

    Specifies the shape template’s fractional height.

    Namespace: DevExpress.Web.ASPxDiagram

    Assembly: DevExpress.Web.ASPxDiagram.v25.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