Back to Devexpress

DockPanel.VisibilityChanged Event

windowsforms-devexpress-dot-xtrabars-dot-docking-dot-dockpanel-8305ec24.md

latest2.5 KB
Original Source

DockPanel.VisibilityChanged Event

Fires after the dock panel’s visible state has been changed.

Namespace : DevExpress.XtraBars.Docking

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public event VisibilityChangedEventHandler VisibilityChanged
vb
Public Event VisibilityChanged As VisibilityChangedEventHandler

Event Data

The VisibilityChanged event's data class is VisibilityChangedEventArgs. The following properties provide information specific to this event:

PropertyDescription
OldVisibilityGets the previous visible state of the panel.
PanelGets the processed dock panel. Inherited from DockPanelEventArgs.
VisibilityGets the current visible state of the panel.

Remarks

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.

See Also

Visibility

VisibilityChanged

DockPanel Class

DockPanel Members

DevExpress.XtraBars.Docking Namespace