TdxLayoutSizeOptions.MaxWidth Property
Specifies the maximum width of a layout item, in pixels.
Declaration
property MaxWidth: Integer read; write; default 0;
Property Value
Type | Default |
---|---|
Integer | 0 |
Remarks
Use the MaxHeight and MaxWidth properties to limit the Height and Width property values, respectively. If the MaxWidth property is set to 0, the layout item’s width is limited only by its parent container’s width.
Note
The MaxWidth property value is ignored only if the following conditions are met:
The layout item is within a group whose LayoutDirection property is set to ldVertical.
The layout item’s AlignHorz property is set to avParentManaged or ahClient.
The MaxWidth property’s default value is 0.
See Also