Breaking Change BC4631
Visible to All Users

The Window.GetWindow() method now returns the actual window that owns the current floating panel

In versions prior 18.2, the floating window's position relates to the main window's position (where the DockLayoutManager manager is placed), not relative to the floating window's parent window. This occurs because the Window.GetWindow()  method returns the window in which the DockLayoutManager is placed. For example, with this behavior, it is not possible to display a floating window in the center of its parent window: WindowedDocumentUIService defined in a layout panel uses a window where DockLayoutManager is placed as owner.

In v18.2, the Window.GetWindow()  method returns an actual window that owns the current floating panel.

This breaking change may affect the code that used the Window.GetWindow()  method.

Starting with v18.2.4, you can set the CompatibilitySettings.MakeGetWindowReturnActualFloatPanelWindow  property to false  to enable the old behavior.

Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.