Skip to main content

IDockController.Hide(BaseLayoutItem, AutoHideGroup) Method

Enables the auto-hide functionality for the item/panel and hides it within the specified AutoHideGroup group.

Namespace: DevExpress.Xpf.Docking

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

NuGet Package: DevExpress.Wpf.Docking

Declaration

bool Hide(
    BaseLayoutItem item,
    AutoHideGroup target
)

Parameters

Name Type Description
item BaseLayoutItem

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

target AutoHideGroup

An AutoHideGroup object where the panel is hidden.

Returns

Type Description
Boolean

true, if the auto-hide functionality has been 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