Back to Devexpress

BaseLayoutItem.IsHidden Property

windowsforms-devexpress-dot-xtralayout-dot-baselayoutitem-7a066a4d.md

latest2.8 KB
Original Source

BaseLayoutItem.IsHidden Property

Gets whether the layout item is hidden.

Namespace : DevExpress.XtraLayout

Assembly : DevExpress.XtraLayout.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
public bool IsHidden { get; }
vb
<Browsable(False)>
Public ReadOnly Property IsHidden As Boolean

Property Value

TypeDescription
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

HideToCustomization()

HideItem(BaseLayoutItem)

BaseLayoutItem Class

BaseLayoutItem Members

DevExpress.XtraLayout Namespace