Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCustomLayoutItem.AlignHorz Property

Specifies the horizontal alignment of an item/group within its parent group.

#Declaration

Delphi
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