LayoutController.Hide(BaseLayoutItem) Method

Hides the specified layout item.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v21.1.dll


public bool Hide(
    BaseLayoutItem item


Name Type Description
item BaseLayoutItem

A BaseLayoutItem object to be hidden.


Type Description

true if the item has been successfully hidden; otherwise, false.


Hidden items can be accessed via the LayoutController.HiddenItems collection.

In Customization Mode, an end-user can access hidden items via the Customization Window. It’s possible to hide an item by right-clicking it, and selecting Hide item from the context menu. To restore a hidden item, right-click the item in the Customization Window, and select Restore item.

See Also