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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

way to disable double clicking causing float

Thread ID:

Created:

Updated:

Platform:

Replies:

119359 Jun 10,2015 03:49 PM UTC Jun 16,2015 05:37 AM UTC WPF 4
loading
Tags: DockingManager
Henry Harris
Asked On June 10, 2015 03:49 PM UTC

When a user control is in tabbed/document mode and the user double clicks on the tab, it will force the user control into float.  Is there a way to disable this feature?

Vijayalakshmi Roopkumar [Syncfusion]
Replied On June 11, 2015 05:44 AM UTC

Hi Henry,

Thank you for contacting the Syncfusion Support, 
We can disable the behavior of floating the document on double click by EnableDocumentToFloatOnDoubleClick property of DockingManager. This property is available from 13.1.0.21 Version. You can achieve your requirement by setting EnableDocumentToFloatOnDoubleClick as false. The same has been illustrated in the following code snippet:

CodeSnippet:


//The following code snippet will demonstrates the usage of EnableDocumentToFloatOnDoubleClick property of DockingManager.

<syncfusion:DockingManager UseDocumentContainer="True" EnableDocumentToFloatOnDoubleClick="False" >

            <ContentControl syncfusion:DockingManager.State="Document"

                            syncfusion:DockingManager.Header="Document1"/>

            <ContentControl syncfusion:DockingManager.State="Document"

                            syncfusion:DockingManager.Header="Document2"/>
        </syncfusion:DockingManager>




 
And we have prepared the sample that demonstrates the same , kindly download from the following link:

Sample:Forum_119359
Kindly try our solution and let us know if it is helpful for you,
Regards,
Vijayalakshmi V.R.

Henry Harris
Replied On June 15, 2015 05:45 PM UTC

I upgraded to version 13.1451.0.21 and EnableDocumentToFloatOnDoubleClick is not available on the dockingmanager

Henry Harris
Replied On June 15, 2015 07:52 PM UTC

nevermind it was just Visual Studio freaking out.  Thanks for your help!

Saranya CJ [Syncfusion]
Replied On June 16, 2015 05:37 AM UTC

Hi Henry,

Thank you for your update. Please let us know if you require any other assistance.

Regards,
Saranya

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.

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

;