This article describes how to find whether the side panel in DockingManager is expanded or collapsed. Follow the below steps to get notified when auto hidden content panel expands and collapses.
Retrieve the SidePanels in DockingManager by traversing visual tree and identify their sides with the help of PanelSide poperty.
SidePanel class has the events Show and Hide, hook these event for each side. Show event notifies user when the panel is being expanded and Hide event notifies user when the panel is being collapsed.
The following code example demonstrates the same.
The following screenshot illustrates the output:
Figure: Side panel item hovered to view the content
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|