Skip to main content

DockLayoutManager.DockItemHidden Event

Fires after a dock item has been made auto-hidden.

Namespace: DevExpress.Xpf.Docking

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

#Declaration

public event DockItemEventHandler DockItemHidden

#Event Data

The DockItemHidden event's handler receives an argument of the ItemEventArgs type. The following properties provide information specific to this event:

Property Description
Handled Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route. Inherited from RoutedEventArgs.
Item Gets the currently processed item.
OriginalSource Gets the original reporting source as determined by pure hit testing, before any possible Source adjustment by a parent class. Inherited from RoutedEventArgs.
RoutedEvent Gets or sets the RoutedEvent associated with this RoutedEventArgs instance. Inherited from RoutedEventArgs.
Source Gets or sets a reference to the object that raised the event. Inherited from RoutedEventArgs.

#Remarks

To prevent an item from being auto-hidden, disable the BaseLayoutItem.AllowHide option or handle the DockLayoutManager.DockItemHiding event.

Auto-hidden items can be accessed via the DockLayoutManager.AutoHideGroups collection. To make an item auto-hidden in code, use the DockController.Hide method provided by the DockLayoutManager.DockController object.

See Also