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

IModelWinLayoutItem.TextAlignMode Property

Specifies the alignment settings of the layout item's control.

Namespace: DevExpress.ExpressApp.Win.SystemModule

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

Declaration

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

Property Value

Type Default Description
TextAlignModeItem

UseParentOptions

A TextAlignModeItem enumeration value specifying the alignment settings of the layout item's control.

Remarks

This property is considered in XAF Windows Forms applications.

The following values are available:

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