Skip to main content

DiagramCustomShape.MaxWidth Property

Specifies the maximum width of the shape.

Namespace: DevExpress.Web.ASPxDiagram

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

NuGet Package: DevExpress.Web

Declaration

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

Property Value

Type Default Description
Decimal "0"

The width, in units.

Remarks

When the AllowResize property is set to true, users can resize the shape. Use the following properties to restrict changes to shape sizes: MinWidth, MinHeight, MaxWidth, and MaxHeight.

The DefaultHeight and DefaultWidth properties specify the initial size of the shape.

See Also