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
605
Docking TabGroupPane Dynamically
posted

Hi,

     I am using XamDockManager in a userControl which is loaded into Shell region in my Prism/CAL Application.I am attaching the code below for your reference

 

<UserControl x:Class="SREMonitor.Views.SREMonitorLayout"

    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

    x:Name="MonitorLayout"

    xmlns:ig="http://infragistics.com/DockManager">

 

 

<DockPanel>

        <ig:XamDockManager Background="{x:Null}" x:Name="xamDockManager">

            <ig:XamDockManager.Panes>

                <ig:SplitPane MinWidth="300">

                    <ig:ContentPane Header="Sidebar Region" Style="{StaticResource JdaSidebarPaneStyle}" Background="#FF86BEEC">

                        <ItemsControl x:Name="sidebarRegion"/>

                    </ig:ContentPane>

                </ig:SplitPane>

                <ig:SplitPane Width="6000" MinWidth="300" SplitterOrientation="Vertical" x:Name="splitPane">

                    <ig:SplitPane SplitterOrientation="Horizontal">                       

                            <ig:TabGroupPane x:Name="MyRegion1"/>

                            <ig:TabGroupPane x:Name="MyRegion2"/>                        

                    </ig:SplitPane>

                </ig:SplitPane>

            </ig:XamDockManager.Panes>

        </ig:XamDockManager>

    </DockPanel>

</UserControl>

 

 

My problem here is i want to Hide/Dock the MyRegion2 Dynamically. how can i do this,Please suggest me some way..........Thanks in Advance

Parents Reply Children
No Data