Back to Devexpress

LayoutControl.OptionsItemText Property

windowsforms-devexpress-dot-xtralayout-dot-layoutcontrol-6e58085c.md

latest2.4 KB
Original Source

LayoutControl.OptionsItemText Property

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

Namespace : DevExpress.XtraLayout

Assembly : DevExpress.XtraLayout.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDescription
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.

See Also

Layout Item's Settings

LayoutControl Class

LayoutControl Members

DevExpress.XtraLayout Namespace