The requested page is not available for the requested platform. You are viewing the content for Default platform.

IModelWinLayoutGroup.TextAlignMode Property

Specifies the alignment settings of the controls displayed in the current group.

Namespace: DevExpress.ExpressApp.Win.SystemModule

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

Declaration

[DefaultValue(TextAlignModeGroup.UseParentOptions)]
TextAlignModeGroup TextAlignMode { get; set; }
<DefaultValue(TextAlignModeGroup.UseParentOptions)>
Property TextAlignMode As TextAlignModeGroup

Property Value

Type Default Description
TextAlignModeGroup

UseParentOptions

A TextAlignModeGroup enumeration value specifying the alignment settings of the controls displayed in the current group.

Remarks

This property is considered in XAF Windows Forms applications.

The following values are available:

  • AlignLocal - controls displayed within the current group are automatically aligned independently from 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 using the BaseLayoutItem.TextSize property.
  • UseParentOptions - alignment settings are determined by the group's parent.
See Also