All docs
V20.2
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

DiagramCustomShape.TemplateTop Property

Specifies the shape template's top offset.

Namespace: DevExpress.Web.ASPxDiagram

Assembly: DevExpress.Web.ASPxDiagram.v20.2.dll

Declaration

[DefaultValue(typeof(decimal), "0")]
public decimal TemplateTop { get; set; }
<DefaultValue(GetType(Decimal), "0")>
Public Property TemplateTop As Decimal

Property Value

Type Default Description
Decimal

"0"

A decimal number from 0 to 1.

Remarks

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