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

    Specifies the shape template’s left offset.

    Namespace: DevExpress.Web.ASPxDiagram

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

    NuGet Package: DevExpress.Web

    Declaration

    [DefaultValue(typeof(decimal), "0")]
    public decimal TemplateLeft { get; set; }

    Property Value

    Type Default Description
    Decimal "0"

    A decimal number from 0 to 1.

    Remarks

    The TemplateLeft property specifies a fractional left offset of a shape template toward the shape width. If the TemplateLeft property is set to 0, the template’s left edge matches the shape’s left edge.

    The absolute offset is calculated by multiplying the TemplateLeft value by the shape’s width.

    See Also