All docs
V21.2
21.2
21.1
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.TemplateWidth Property

Specifies the shape template’s fractional width.

Namespace: DevExpress.Web.ASPxDiagram

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

Declaration

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

Property Value

Type Default Description
Decimal

“1”

A decimal number from 0 to 1.

Remarks

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

The absolute template width is calculated by multiplying the TemplateWidth value by the shape width.

See Also