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

DockingManager.NativeWindowStyle can cause NullReferenceException

Hello,
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>
                </Style>
            </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?
Regards
Roman

1 Reply

MS Marimuthu Sivalingam Syncfusion Team 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

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents

Please let me know if you have any questions.

Regards,
Marimuthu S.

Loader.
Live Chat Icon For mobile
Up arrow icon