by Divelements - Product Type: Component / .NET WPF
Hi,
I use SandDock to create a DockableWindow with a .NET 2.0 control as the child element and set the WindowGroup with Pinned="False". When I run the program, I try to pin the WindowGroup. However, my .NET 2.0 control doesn't appear, whereas if I replace my .NET 2.0 control with a WPF control, it works fine.
See the following code that causing the abovementioned problem.
<sd:WindowGroup Pinned="False">
<sd:DockableWindow Title="DotNet 2.0 Control" DockSituationChanged="OnDockSituationChanged">
<!-- My .NET 2.0 control -->
<src:MyOldControl x:Name="OldNET2Ctl"></src:MyOldControl>
</sd:DockableWindow>
<sd:DockableWindow Title="WPF Control" DockSituationChanged="OnDockSituationChanged">
<TextBlock>Macy Testing ... </TextBlock>
</sd:DockableWindow>
</sd:WindowGroup>
Please let me know how SandDock work with .NET 2.0 Control.
I would suspect the z-order of .NET 2.0 control is not being handle properly in SandDock.
Thanks,
MACY CHIN
Reply