DiagramDefaultItemProperties.ShapeMaxHeight Property
Specifies the maximum height of a shape.
Namespace: DevExpress.Web.ASPxDiagram
Assembly: DevExpress.Web.ASPxDiagram.v24.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Decimal | "-1" | The height, in units. |
Remarks
Use the following properties to specify resizing restrictions for every shape: ShapeMaxHeight, ShapeMaxWidth, ShapeMinHeight, and ShapeMinWidth.
<dx:ASPxDiagram ID="Diagram" runat="server" Width="100%" Height="600px" Units="In">
<DefaultItemProperties
ShapeMaxHeight="1" ShapeMaxWidth="1.5"
ShapeMinHeight="0.5" ShapeMinWidth="0.75"/>
...
</dx:ASPxDiagram>
Use the properties of the DiagramCustomShape object (for instance, MaxHeight) to specify restrictions for a custom shape.
See Also