Skip to main content

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Win.Navigation

#Declaration

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