SimpleLabelItem.MaxSize Property
Gets or sets the item’s maximum size. This property is only in effect if the SizeConstraintsType property is not set to Default.
Namespace: DevExpress.XtraLayout
Assembly: DevExpress.XtraLayout.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Property Value
Type | Description |
---|---|
Size | A Size structure that specifies the item’s maximum size. |
Remarks
If the SizeConstraintsType property is not set to Default, the MinSize and MaxSize
properties specify the item’s minimum and maximum width and height.
If the SizeConstraintsType property is set to Default, the maximum width and height depend on the AutoSizeMode property value:
- Default or Vertical — the item’s maximum height is calculated automatically based on the content’s height.
- Horizontal — the item’s maximum width is calculated automatically based on the content’s width.
- Both — the item’s maximum width and height are calculated automatically based on the content.
- None — the maximum width and height are not specified.
See the following topic for more information about size constraints: Size and Alignment.
See Also