Back to Devexpress

DockControllerBase.Hide(BaseLayoutItem) Method

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

latest2.1 KB
Original Source

DockControllerBase.Hide(BaseLayoutItem) Method

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

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 which the auto-hide feature is applied.

|

Returns

TypeDescription
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

Hide(BaseLayoutItem)

See Also

DockControllerBase Class

DockControllerBase Members

DevExpress.Xpf.Docking Namespace