Skip to main content
A newer version of this page is available. .

OptionsItemTextGroup.AlignControlsWithHiddenText Property

Gets or sets whether controls with hidden text must be aligned when the local horizontal alignment of controls within the group is enabled.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v18.2.dll

Declaration

[DefaultValue(false)]
public bool AlignControlsWithHiddenText { get; set; }

Property Value

Type Default Description
Boolean **false**

true if controls with hidden text must be aligned when the local horizontal alignment is enabled; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to AlignControlsWithHiddenText
LayoutViewCard
.OptionsItemText.AlignControlsWithHiddenText
LayoutControlGroup
.OptionsItemText.AlignControlsWithHiddenText
LayoutGroup
.OptionsItemText.AlignControlsWithHiddenText

Remarks

By default, the horizontal alignment of controls with hidden text within the LayoutControl is specified by the LayoutControl’s OptionsItemText.AlignControlsWithHiddenText property.

To override this setting for a specific group, set the group’s OptionsItemTextGroup.TextAlignMode to TextAlignModeGroup.AlignLocal and set the AlignControlsWithHiddenText property to the required value.

For more information on the AlignControlsWithHiddenText property, see the OptionsItemText.AlignControlsWithHiddenText topic.

Note

This property is only in effect if the group’s OptionsItemTextGroup.TextAlignMode property is set to TextAlignModeGroup.AlignLocal. If the OptionsItemTextGroup.TextAlignMode property is set to TextAlignModeGroup.UseParentOptions the alignment of controls with hidden text is determined by the group’s parent.

See Also