How to add view to a PRISM TabControl region WITHOUT making it selected?
问题 We have a WPF application using PRISM, with a region of type TabControl. <TabControl prism:RegionManager.RegionName="{x:Static inf:RegionNames.ContentRegion}"> <TabControl.ItemContainerStyle> <Style TargetType="{x:Type TabItem}"> <Setter Property="Header" Value="{Binding TabName}" /> </Style> </TabControl.ItemContainerStyle> </TabControl> And we are registering views with _regionManager.RegisterViewWithRegion(RegionNames.ContentRegion, typeof(ContentView)); Problem is, this way the registered