Back to Devexpress

TextAlignMode Enum

windowsforms-devexpress-dot-xtralayout-1c7422fc.md

latest1.9 KB
Original Source

TextAlignMode Enum

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

Declaration

csharp
public enum TextAlignMode
vb
Public Enum TextAlignMode

Members

NameDescription
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:

Remarks

The TextAlignMode options can be accessed via the OptionsItemText.TextAlignMode property.

See Also

TextAlignMode

DevExpress.XtraLayout Namespace