Regions in the Shell

Topics: Prism v2 - Silverlight 3
Oct 29, 2009 at 4:21 PM
Edited Oct 29, 2009 at 7:37 PM

Hi i am working on prism2 and trying to divide shell into region and it working fine with the following code:

Grid >  

<Grid.RowDefinitions>  <RowDefinition Height="Auto"/>    <RowDefinition Height="*"/>  </Grid.RowDefinitions> <font size="2" color="#a31515"><font size="2" color="#a31515">

 <basics:TabControl Regions:RegionManager.RegionName="ResultsRegion" Grid.Row="1" Margin="3"/>


But when i want to change these (content or tabcontrols) to canvas ,grid or stackpanel im getting RegionCreationException was unhandled by user code error.

Same error when i tried directly to apply Regions to RowDefinition. ERROR::::(RegionCreationException was unhandled by user code)

Is there any  conditions to divide shell and assign Control Or Panels to the regions of shell.




Oct 30, 2009 at 6:19 AM

Check this out: