Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

LayoutController.Hide(BaseLayoutItem) Method

Hides the specified layout item.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v24.2.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