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

DockingManager.NativeWindowStyle can cause NullReferenceException

Thread ID:





121096 Nov 10,2015 12:31 PM UTC Nov 11,2015 05:53 AM UTC WPF 1
Tags: DockingManager
Roman Moeller
Asked On November 10, 2015 12:31 PM UTC

I'm trying to use NativeWindowStyle property of the DockingManager to change the style of floating windows. So I came across the following example in the documentation.
<syncfusion:DockingManager UseDocumentContainer="True" ContainerMode="TDI" UseNativeFloatWindow="True">             <syncfusion:DockingManager.NativeWindowStyle>
                 <Style TargetType="{x:Type syncfusion:NativeFloatWindow}">
                    <Setter Property="Background" Value="Red"></Setter>
            </syncfusion:DockingManager.NativeWindowStyle>             <ContentControl syncfusion:DockingManager.Header="Child1" syncfusion:DockingManager.State="Float"/>             <ContentControl syncfusion:DockingManager.Header="Child2" syncfusion:DockingManager.State="Document"/>             <ContentControl syncfusion:DockingManager.Header="Child3" syncfusion:DockingManager.State="Document"/>         </syncfusion:DockingManager>

The problem with my code and with this example is that it crashes with an unhandled NullReferenceException when I close the floating window (Child1 in the example). Are there any ideas how this could be avoided?

Marimuthu Sivalingam [Syncfusion]
Replied On November 11, 2015 05:53 AM UTC

Hi Roman ,

We were able to reproduce the issue with DockingManager and have logged defect report regarding this. A support incident to track the status of this defect has been created under your account. Please log on to our support website to check for further updates


Please let me know if you have any questions.

Marimuthu S.


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.

Please sign in to access our forum

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