Back to Devexpress

OptionsItemTextGroup.AlignControlsWithHiddenText Property

windowsforms-devexpress-dot-xtralayout-dot-optionsitemtextgroup-88abaaa3.md

latest3.3 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(false)]
public bool AlignControlsWithHiddenText { get; set; }
vb
<DefaultValue(False)>
Public Property AlignControlsWithHiddenText As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

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 TypePath to 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

TextAlignMode

AlignControlsWithHiddenText

OptionsItemTextGroup Class

OptionsItemTextGroup Members

DevExpress.XtraLayout Namespace