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.

DockingManager: How to prevent float state when doubleClick on header?

Thread ID:





105721 Nov 16,2012 03:29 AM Nov 28,2012 12:03 AM WPF 3
Tags: Tools
Jacques Sautier
Asked On November 16, 2012 03:29 AM

Hi all,
Is there a property or method to prevent the window to be in flaoting state when a user make a double click on the header of the window?

Thank you.

Dinesh Kumar P [Syncfusion]
Replied On November 22, 2012 05:52 AM

Hi Jacques Sautier,


Sorry for the delay being caused.


Please download the sample attached with this forum.


In the sample we have used the event ‘PreviewMouseDown’ in Docking Manager control. On Double Click we have cancelled this event. Now the double click on header doesn’t change the Window state to ‘Float’.  


Please let us know in case of any other queries.



P.Dinesh Kumar


Jacques Sautier
Replied On November 22, 2012 09:37 AM

Hi Dinesh Kumar,

The code in your sample solves my problem.

Thank you for your answer.

Dinesh Kumar P [Syncfusion]
Replied On November 28, 2012 12:03 AM

Hi Jacques Sautier,
Thanks for your update. Please let us know in case of any other queires as always we will feel happy to assist you.
Dinesh Kumar P    


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.