LayoutControl.OptionsItemText Property

Provides access to the default alignment settings of the controls displayed in the LayoutControl.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.1.dll

Declaration

[DXCategory("Options")]
public OptionsItemText OptionsItemText { get; }
<DXCategory("Options")>
Public ReadOnly Property OptionsItemText As OptionsItemText

Property Value

Type Description
OptionsItemText

An OptionsItemText object that provides the alignment options.

Remarks

This class contains settings that specify how the controls displayed within the LayoutControl are aligned and the text regions of layout items are resized.

The main property which controls the default alignment settings within the LayoutControl is OptionsItemText.TextAlignMode. It allows you to specify whether the controls must be aligned globally throughout the LayoutControl or independently within groups. Additionally, you can enable the text auto-size feature or prevent the size of the text regions from being controlled automatically.

For each layout group and item you can override the default alignment settings exposed by the LayoutControl. Use the group's OptionsItemTextGroup.TextAlignMode and item's LayoutControlItem.TextAlignMode properties to do this.

Implements

DevExpress.XtraLayout.ILayoutControl.OptionsItemText
See Also