prism 中的Region能否动态加载

Topics: Prism v4 - WPF 4
Mar 4, 2011 at 5:32 AM
Edited Mar 4, 2011 at 5:36 AM

    <TabControl x:Name="tab" ItemsSource="{Binding NavigationItems,Mode=TwoWay}" >
                    <Label Content="{Binding Path=Content,Mode=TwoWay}" DockPanel.Dock="Top"></Label>
                <ContentControl Prism:RegionManager.RegionName="{Binding Name}">


regionManager.RegisterViewWithRegion(RegionNames.P_PLANNAVIGATION, typeof(PlanNavigationView));


Mar 4, 2011 at 4:08 PM
Edited Mar 4, 2011 at 4:08 PM


You might find the following thread useful for your scenario:

Region defined in a view is not added to RegionManger.Regions collection

Also, it could be useful if you could provide us with further details about your question in English.

I hope you find this helpful.

Guido Leandro Maliandi

Mar 21, 2011 at 8:12 AM