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.

DockingManager.NativeWindowStyle can cause NullReferenceException

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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

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

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.

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.

;