Skip to main content

DiagramCustomShape.TemplateTop Property

Specifies the shape template’s top offset.

Namespace: DevExpress.Web.ASPxDiagram

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


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

Property Value

Type Default Description


A decimal number from 0 to 1.


The TemplateTop property specifies a fractional top offset of a shape template toward the shape height. If the TemplateTop property is set to 0, the template’s top edge matches the shape’s top edge.

The absolute offset is calculated by multiplying the TemplateTop value by the shape’s height.

See Also