Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BaseLayoutItem.IsHidden Property

Gets whether the layout item is hidden.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[Browsable(false)]
public bool IsHidden { get; }

#Property Value

Type Description
Boolean

true if the layout item is hidden; otheriwse, false.

#Remarks

Specific layout items can be hidden from the LayoutControl by calling either the BaseLayoutItem.HideToCustomization or LayoutControl.HideItem method. End-users can hide layout items to the Customization Form using drag and drop operations. When an item is hidden the IsHidden property returns true. Otherwise, this property returns false.

To access the hidden items use the LayoutControl.HiddenItems property.

Note

When layout items are hidden to the Customization Form, they do not retain their positions in the layout. Use the Visibility property to hide an item and preserve its position.

Empty space items, splitters, labels, and separators are automatically disposed off when they are moved to the Customization Form. You should recreate them.

See Also