Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
800
Name property of pane returns blank
posted

<igDock:XamDockManager Name="xamDockManager1" >
            <igDock:XamDockManager.Panes>
                <igDock:SplitPane Height="200" Name="xamMyPane" igDock:XamDockManager.InitialLocation="DockedBottom">
                    <igDock:ContentPane Header="myContentPane">
                        <local:UserControlMyUserControl x:Name="MyUserControl"/>
                    </igDock:ContentPane>
                </igDock:SplitPane>
            </igDock:XamDockManager.Panes>

 

then in code behind in window closing event:

IEnumerable<ContentPane> panes = this.xamDockManager1.GetPanes(PaneNavigationOrder.VisibleOrder);
            panes.ToList().ForEach(x =>
                {

                    Debug.WriteLine(x.Name);
                });

All names are blank. Yet x is still equal to the valid pane (header properties, etc.)