-
Notifications
You must be signed in to change notification settings - Fork 1
RegionAdapterMappings
Philemon Eichin edited this page Jun 11, 2018
·
2 revisions
Use the following snippet to register the region adapter mappings:
protected override void ConfigureRegionAdapterMappings(RegionAdapterMappings regionAdapterMappings)
{
base.ConfigureRegionAdapterMappings(regionAdapterMappings);
regionAdapterMappings.RegisterMapping(typeof(Ribbon),
(IRegionAdapter)Container.Resolve(typeof(RibbonRegionAdapter)));
regionAdapterMappings.RegisterMapping(typeof(BackstageTabControl),
(IRegionAdapter)Container.Resolve(typeof(BackstageTabControlRegionAdapter)));
regionAdapterMappings.RegisterMapping(typeof(RibbonMenu),
(IRegionAdapter)Container.Resolve(typeof(RibbonMenuRegionAdapter)));
regionAdapterMappings.RegisterMapping(typeof(RibbonTabItem),
(IRegionAdapter)Container.Resolve(typeof(RibbonTabItemRegionAdapter)));
// ...
}