Region within a Region

Jul 16, 2008 at 8:47 AM
Is it possible to nest a region within a region?

The reason I ask is that it appears to break the application.

The scenario is this. I want a TabControl to be a region which can accept added tabs.

The first tab, however, I want to predefine and assign it a region name.

So something like this:

<

TabControl Name="mainTabControl" cal:RegionManager.RegionName="MainTabControl"> <TabItem Header="Home" >
<DockPanel > 
<ToolBar Name="toolbar" DockPanel.Dock="Top"><Button>Refresh</Button><Button>Delete</Button></ToolBar>
<ContentControl cal:RegionManager.RegionName="{x:Static infrastructure:RegionNames.DataGridRegion}" />
</DockPanel>
</TabItem>
</TabControl>