Back to Devexpress

LayoutController.Hide(BaseLayoutItem) Method

wpf-devexpress-dot-xpf-dot-docking-dot-layoutcontroller-dot-hide-x28-devexpress-dot-xpf-dot-docking-dot-baselayoutitem-x29.md

latest2.5 KB
Original Source

LayoutController.Hide(BaseLayoutItem) Method

Hides the specified layout item.

Namespace : DevExpress.Xpf.Docking

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

NuGet Package : DevExpress.Wpf.Docking

Declaration

csharp
public bool Hide(
    BaseLayoutItem item
)
vb
Public Function Hide(
    item As BaseLayoutItem
) As Boolean

Parameters

NameTypeDescription
itemBaseLayoutItem

A BaseLayoutItem object to be hidden.

|

Returns

TypeDescription
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

AllowHide

AllowRestore

IsHidden

HiddenItems

Restore(BaseLayoutItem)

LayoutItemHidden

LayoutController Class

LayoutController Members

DevExpress.Xpf.Docking Namespace