Skip to main content

LayoutController.Hide(BaseLayoutItem) Method

Hides the specified layout item.

Namespace: DevExpress.Xpf.Docking

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

NuGet Package: DevExpress.Wpf.Docking

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

You can use the LayoutController.HiddenItems collection to access hidden items.

Users can access hidden items in the Customization Window at application runtime. To hide an item, they can right-click it and select the Hide item menu item from the context menu. To restore a hidden item, they can right-click the item in the Customization Window, and select Restore item.

See Also