DockControllerBase.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.v20.1.dll

Declaration

public bool Hide(
    BaseLayoutItem item,
    AutoHideGroup target
)
Public Function Hide(
    item As BaseLayoutItem,
    target As AutoHideGroup
) As Boolean

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 auto-hide feature cannot be applied to an item/panel if the BaseLayoutItem.AllowHide option is disabled.

In XAML, you can create an auto-hidden panel by creating an AutoHideGroup, adding a panel to the group and then adding the group to the DockLayoutManager.AutoHideGroups collection.

Implements

DevExpress.Xpf.Docking.IDockController.Hide(BaseLayoutItem, AutoHideGroup)
See Also