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

IDockController.Hide(BaseLayoutItem) Method

Enables the auto-hide mode for the item/panel and hides it at a corresponding edge of the DockLayoutManager container.

Namespace: DevExpress.Xpf.Docking

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

NuGet Package: DevExpress.Wpf.Docking

#Declaration

bool Hide(
    BaseLayoutItem item
)

#Parameters

Name Type Description
item BaseLayoutItem

A BaseLayoutItem object to which the auto-hide mode is applied.

#Returns

Type Description
Boolean

true, if the auto-hide mode is enabled for the item/pane; otherwise, false.

#Remarks

The Hide method has no effect if the BaseLayoutItem.AllowHide property of the item/panel is false.

Create an AutoHideGroup, add a panel to the group, and then add the group to the DockLayoutManager.AutoHideGroups collection to create an auto-hidden panel in XAML.

See Also