Is there anyway via the DockingManager (or anything else) to capture, or listen for, the event when a user unpins a docked panel?
I've played with the DockingManager.DockStateChanged event and it certainly gets called when the push-pin is clicked but I haven't been able to narrow down that particular event. Any ideas?
PSPrakash S Syncfusion Team January 8, 2003 05:21 PM
There isn't a special autohide state change (unpinned) event, but you could use the DockStateChanging & DockStateChanged events in synchronization with each other to achieve the same effect. Call the 'DockingManager.GetAutoHideMode(Control ctrl)' method within the two handlers, maintain some kind of a flag that is reflective of the autohide mode and if you notice a change in the GetAutoHideMode() return value between the two handlers then an autohide state change has occured. The final state of the control will be reflected in the DockStateChanged event.
TLTom Le BlancJanuary 9, 2003 01:24 PM
That's the road I started down and it appears to be working.