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.

reposition float to middle of window

Thread ID:

Created:

Updated:

Platform:

Replies:

119166 May 16,2015 03:01 PM May 18,2015 08:41 AM WPF 1
loading
Tags: DockingManager
Henry Harris
Asked On May 16, 2015 03:01 PM

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?

Victory Jessie Selvam D [Syncfusion]
Replied On May 18, 2015 08:41 AM

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

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.

;