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

reposition float to middle of window

Is there a way to force all all float windows to spawn in the middle of the screen?  We are getting user complaints that the floating control is going off the screen.

Also is there a way to disable the "double click to put control into float" feature?

1 Reply

VJ Victory Jessie Selvam D Syncfusion Team May 18, 2015 12:41 PM UTC

Hi Henry,

Thank you for using Syncfusion products.

Query #1: Is there a way to force all all float windows to spawn in the middle of the screen?
Yes, we can position the float window by Rect coordinates using the attached property “FloatingWindowRect” in DockingManager. We have prepared a sample for positioning the float window in centre of primary screen, similarly you can position it in your screen as per your requirement.

Query #2: Is there a way to disable the "double click to put control into float" feature?
Yes, we can disable this feature in Document tabs by setting the property EnableDocumentToFloatOnDoubleClick=false. This property is available from our 13.1.0.21 version.

Sample: DockingManager_FloatWindow.zip

Please let us know if you need further assistance on this.

Regards,
Jessie

Loader.
Live Chat Icon For mobile
Up arrow icon