Skip to main content

DiagramCustomShape.TemplateWidth Property

Specifies the shape template’s fractional width.

Namespace: DevExpress.Web.ASPxDiagram

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

NuGet Package: DevExpress.Web

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