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.v20.1.dll

Declaration

public enum TextAlignMode
Public Enum TextAlignMode

Members

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.

Related API Members

The following properties accept/return TextAlignMode values:

Remarks

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

See Also