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

way to disable double clicking causing float

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?

4 Replies

VR Vijayalakshmi Roopkumar Syncfusion Team 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.


HH Henry Harris June 15, 2015 05:45 PM UTC

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


HH Henry Harris June 15, 2015 07:52 PM UTC

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


SC Saranya CJ Syncfusion Team 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

Loader.
Live Chat Icon For mobile
Up arrow icon