We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Unpin Event?

Thread ID:





2334 Jan 8,2003 04:26 PM UTC Jan 9,2003 06:24 PM UTC WinForms 2
Tags: Tools
Tom Le Blanc
Asked On January 8, 2003 04:26 PM UTC

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? Thanks, Tom

Prakash S [Syncfusion]
Replied On January 8, 2003 10:21 PM UTC

Hi Tom, 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. Prakash Syncfusion, Inc.

Tom Le Blanc
Replied On January 9, 2003 06:24 PM UTC

Thanks Prakash, That's the road I started down and it appears to be working. Tom


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon