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

How to host the Windows Forms control in the DockingManager and resolve common issues with it?

Platform: WPF |
Control: DockingManager |
Published Date: May 18, 2015 |
Last Revised Date: May 18, 2015

While adding Windows Forms control to the DockingManager, you may face some issues that can be resolved as follows.

UseInteropCompatibilityMode

Set the UseInteropCompatibilityMode property as True to use the WindowsForms control in DockingManager.

MainWindow.xaml

MainWindow.xaml.cs

The most common issues with the hosted WindowsForms control in DockingManager are:

1. AutoHidden window controls are overlapped by Docked Window controls.

2. Resizing the AutoHidden window (width wise) is difficult.

3. FloatWindowBorder is thickened in Office2013 theme.

These issues can be resolved by setting the following properties:

UsePopupAutoHidePreview

Set this property to True to resolve the overlapping and resizing issues in the AutoHidden window.

UseNativeFloatWindow

Set this property to True to resolve the border thickening issue in the Float window.

ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

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