TdxCustomLayoutItem.AlignHorz Property
Specifies the horizontal alignment of an item/group within its parent group.
Declaration
property AlignHorz: TdxLayoutAlignHorz read; write;
Property Value
Type |
---|
TdxLayoutAlignHorz |
Remarks
Options include:
Value | Description | Example |
---|---|---|
ahLeft | An item/group is aligned to the left of its parent group. | |
ahCenter | An item/group is centered within its parent group. | |
ahRight | An item/group is aligned to the right of its parent group. | |
ahClient | An item/group occupies as much of its parent group client width as it can. | |
ahParentManaged | An alignment is performed by the parent container, dependant upon the container’s layout settings (see the parent’s LayoutDirection property). |
Note
You can place several items, whose AlignHorz property is set to ahClient, onto the layout control. These items will use as much space as they can, but all of them will be displayed.
The default value of this property is ahParentManaged.
See Also