.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
.NET Core 3.0+

IModelWinLayoutManagerOptions.TextAlignModeItem Property

Specifies the default alignment settings of layout items' controls.

Namespace: DevExpress.ExpressApp.Win.SystemModule

Assembly: DevExpress.ExpressApp.Win.v19.2.dll


TextAlignModeItem TextAlignModeItem { get; set; }
Property TextAlignModeItem As TextAlignModeItem

Property Value

Type Default Description


An integer value specifying the default alignment settings of layout items' controls.


This property is in effect for XAF Windows Forms applications only.

The following values are available:

  • AutoSize - the auto-size feature is applied to a layout item. The item's text region is 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 a layout item's text region must be specified manually using the BaseLayoutItem.TextSize property.
  • UseParentOptions - alignment settings are determined by an item's group.
See Also