Skip to main content

TdxBarItem.Align Property

Defines item control alignment within a toolbar area.

Declaration

property Align: TdxBarItemAlign read; write; default iaLeft;

Property Value

Type Default
TdxBarItemAlign iaLeft

Remarks

The Align property is in effect only for items occupying the last position within the owning toolbar. Note also, that this property is only useful when a bar’s UseRestSpace property value is True. In this case, you can use the Align property to specify how the item is aligned within the bar’s empty space.

The table below describes the possible property values.

Value

Description

iaLeft

The item is aligned to the left and follows the preceding bar item control.

iaCenter

The item is centered within the toolbar’s empty space.

iaRight

The item is right-aligned within the toolbar.

iaClient

The item fills the entire toolbar’s empty space.

The default value of this property is iaLeft.

See Also