windowsforms-devexpress-dot-xtralayout-1c7422fc.md
Enumerates the options that specify how the controls, displayed within the LayoutControl, are aligned and the corresponding text regions are resized.
Namespace : DevExpress.XtraLayout
Assembly : DevExpress.XtraLayout.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
public enum TextAlignMode
Public Enum TextAlignMode
| Name | Description |
|---|---|
AlignInLayoutControl |
Controls are auto-aligned throughout the LayoutControl.
|
| AlignInGroups |
Controls are auto-aligned independently within each layout group.
|
| AlignInGroupsRecursive |
For internal use.
|
| AutoSize |
The auto-size feature is enabled. The text regions of layout items are automatically resized to the minimum width that allows the text to be displayed in it entirety.
|
| CustomSize |
Enables custom size mode, in which the size of the text regions of all layout items must be specified manually via the BaseLayoutItem.TextSize property.
|
The following properties accept/return TextAlignMode values:
The TextAlignMode options can be accessed via the OptionsItemText.TextAlignMode property.
See Also