The prism documentation states that there are three region adapters available:
ContentControlRegionAdapter. This adapter adapts controls of type
System.Windows.Controls.ContentControl
and derived classes.SelectorRegionAdapter. This adapter adapts controls derived from the class
System.Windows.Controls.Primitives.Selector
, such as theSystem.Windows.Controls.TabControl
control.ItemsControlRegionAdapter. This adapter adapts controls of type
System.Windows.Controls.ItemsControl
and derived classes.
Unfortunately, Panel
does not fall into any of those categories, and I want to be able to write this in my .xaml.cs
:
<Canvas cal:RegionManager.RegionName="{x:Static local:RegionNames.MainCanvas}">
How can we accomplish this?