Fires after the visible state of any dock panel owned by the dock manager has been changed.
[DXCategory("Docking")] public event VisibilityChangedEventHandler VisibilityChanged
<DXCategory("Docking")> Public Event VisibilityChanged As VisibilityChangedEventHandler
The VisibilityChanged event's data class is VisibilityChangedEventArgs. The following properties provide information specific to this event:
|OldVisibility||Gets the previous visible state of the panel.|
|Panel||Gets the processed dock panel. Inherited from DockPanelEventArgs.|
|Visibility||Gets the current visible state of the panel.|
A panel’s visible state is specified by its DockPanel.Visibility property. Changing this property’s value raises the VisibilityChanged event. This event is fired either when end-users close or show dock panels or when they enable or disable their auto hide functionality.
This event handler receives a parameter of the VisibilityChangedEventArgs type. It allows the previous and current visible states of the panel to be determined. The panel whose visible state has been changed is identified by the event parameter’s DockPanelEventArgs.Panel property.