Hey all, I'm writing a unit test for a view and am having trouble figuring out where the regionmanager is. >From reading I've found that if a view doesn't have a regionmanager then it uses the Shell's regionmanager. When running a unit test I don't actually have a Shell, I'm creating the view and adding it to the TestPanel directly.
Any ideas where I can get the regionmanager from so I can get views out of the regions on my view? Perhaps I should explicitly set a regionmanager for the view rather than use the Shell's regionmanager. I'm setting the region via attached property ei; <controls:TabControl x:Name="Tabs" Margin="0" Grid.Row="2" cal:RegionManager.RegionName="SetupEditRegion" /> hope that makes sense :) cheers, Stephen
_______________________________________________ ozsilverlight mailing list [email protected] http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
