LayoutControl.OptionsItemText Property
Provides access to the default alignment settings of the controls displayed in the LayoutControl.
Namespace: DevExpress.XtraLayout
Assembly: DevExpress.XtraLayout.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
OptionsItemText | An OptionsItemText object that provides the alignment options. |
Remarks
This class contains settings that specify how the controls displayed within the LayoutControl are aligned and the text regions of layout items are resized.
The main property which controls the default alignment settings within the LayoutControl is OptionsItemText.TextAlignMode. It allows you to specify whether the controls must be aligned globally throughout the LayoutControl or independently within groups. Additionally, you can enable the text auto-size feature or prevent the size of the text regions from being controlled automatically.
For each layout group and item you can override the default alignment settings exposed by the LayoutControl. Use the group’s OptionsItemTextGroup.TextAlignMode and item’s LayoutControlItem.TextAlignMode properties to do this.