Back to Devexpress

TextAlignModeGroup Enum

windowsforms-devexpress-dot-xtralayout-7a520054.md

latest3.3 KB
Original Source

TextAlignModeGroup Enum

Enumerates the options that specify how the controls, displayed within a specific layout group, 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 TextAlignModeGroup
vb
Public Enum TextAlignModeGroup

Members

NameDescription
UseParentOptions

Alignment settings are determined by the group’s parent. The OptionsItemTextGroup.TextToControlDistance and OptionsItemTextGroup.AlignControlsWithHiddenText properties of the current group are ignored. In this mode, these settings are determined by the group’s parent.

For the root group, its parent is the LayoutControl itself (the LayoutControl’s alignment settings are specified by the LayoutControl.OptionsItemText property). For other groups their parents are upper-level groups (a group’s alignment settings are specified by the LayoutGroup.OptionsItemText property).

| | AlignLocal |

Controls displayed within the current group are equally aligned independent of other groups.

| | AutoSize |

The auto-size feature is applied to the layout items of the current group. The text regions of the layout items are automatically resized to the minimum width that allows the text to be displayed in its entirety.

| | CustomSize |

Enables custom size mode, in which the size of the text regions of the group’s layout items must be specified manually via the BaseLayoutItem.TextSize property.

| | AlignWithChildren |

Controls displayed within the current and nested groups are equally aligned independent of other groups.

|

The following properties accept/return TextAlignModeGroup values:

LibraryRelated API Members
WinForms ControlsOptionsItemTextGroup.TextAlignMode
XAF: Cross-Platform .NET App UI & Web APIIModelWinLayoutGroup.TextAlignMode
IModelWinLayoutManagerOptions.TextAlignModeGroup

Remarks

The TextAlignModeGroup options can be accessed via the OptionsItemTextGroup.TextAlignMode property.

See Also

TextAlignMode

DevExpress.XtraLayout Namespace