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.
Unfortunately, activation email could not send to your email. Please try again.

Unpin Event?

Thread ID:

Created:

Updated:

Platform:

Replies:

2334 Jan 8,2003 11:26 AM Jan 9,2003 01:24 PM Windows Forms 2
loading
Tags: Tools
Tom Le Blanc
Asked On January 8, 2003 11:26 AM

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 05:21 PM

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 01:24 PM

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

CONFIRMATION

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.

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.

;