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
70
TabGroupPaneRegionAdapter with Prism4.1 for silverlight5 in v12.1?
posted

Recently I use XamDockManager and TabGroupPane with Prism 4.1 for silverlight 5 in v12.1, 

I add RegionManager.RegionName in TabGroupPane and need to add a TabGroupPaneRegionAdapter class. 

But I only found the abandoned project http://ncal.codeplex.com/

Anyone has some good suggestion?

some old code in codeplex: https://compositewpfcontrib.svn.codeplex.com/svn/Trunk/src/Extensions.Infragistics/Composite.Wpf.Infragistics/CompositeWPFContrib.Composite.Wpf.Infragistics/XamDockManager/Regions/TabGroupPaneRegionAdapter.cs

Bootstrapper


protected override RegionAdapterMappings ConfigureRegionAdapterMappings() {
            RegionAdapterMappings mappings = base.ConfigureRegionAdapterMappings();
            mappings.RegisterMapping(typeof(TabGroupPane),

             new TabGroupPaneRegionAdapter(Container.Resolve<IRegionBehaviorFactory>()));
            return mappings;
        } 

XAML

 <igDock:XamDockManager Grid.Row="2" x:Name="dockManager" >
            <igDock:DocumentContentHost>
                <igDock:SplitPane  VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
                    <igDock:TabGroupPane Name="TabGroupPane1"
                                  prism:RegionManager.RegionName="{Binding TabRegion,Source={StaticResource RegionNames}}"

                                   prism:RegionManager.RegionContext="{Binding CurrentView}"

                                  VerticalAlignment="Top"/>

                </igDock:SplitPane>
            </igDock:DocumentContentHost>
 </igDock:XamDockManager>

Parents
  • 27093
    posted

    Hello Cubean, 

    I have been looking into your enquiry and actually the adapter you have seen in the link is for the WPF XamDockManager which is a different control than the SL’s XamDockManager, for which there hasn’t been any such implementation. Actually the WPF project was abandoned due to the lack of interest. 

    If you decide on making an adapter of your own and encounter any obstacles, we’d be glad to assist with anything we can. Also if you manage to create one, it would be useful for other community users, if you were to share it. 

    Looking forward to hearing from you.

Reply Children