DiagramCustomShape.TemplateWidth Property
In This Article
Specifies the shape template’s fractional width.
Namespace: DevExpress.Web.ASPxDiagram
Assembly: DevExpress.Web.ASPxDiagram.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#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