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

LayoutController.Hide(BaseLayoutItem) Method

Hides the specified layout item.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v18.2.dll

Declaration

public bool Hide(
    BaseLayoutItem item
)

Parameters

Name Type Description
item BaseLayoutItem

A BaseLayoutItem object to be hidden.

Returns

Type Description
Boolean

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

Remarks

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