Hi there,
I just performed an upgrade from 2014 Q4 to 2015 Q1 and have run into an unexpected issue. I have been using Panel Bar Item injection via the prism framework to place panel bar items for each of my modules under their respective headers.
In my shell, the regions are laid out as follows:
Then each of the modules has one to many panel bar items defined:
And during module initalization, the following is called:
Prior to the update, this worked just fine and the panel bar items were injected under their respective parents. Now, though, post-upgrade, it's no longer functioning.
Any thoughts?
I just performed an upgrade from 2014 Q4 to 2015 Q1 and have run into an unexpected issue. I have been using Panel Bar Item injection via the prism framework to place panel bar items for each of my modules under their respective headers.
In my shell, the regions are laid out as follows:
<
telerik:RadPanelBar
DockPanel.Dock
=
"Left"
Width
=
"200"
regions:RegionManager.RegionName
=
"NavPanelRegion"
Background
=
"LightBlue"
>
<
telerik:RadPanelBarItem
regions:RegionManager.RegionName
=
"NavPanelHomeRegion"
Header
=
"Home"
>
</
telerik:RadPanelBarItem
>
<
telerik:RadPanelBarItem
regions:RegionManager.RegionName
=
"NavPanelToolsRegion"
Header
=
"Tools"
>
</
telerik:RadPanelBarItem
>
<
telerik:RadPanelBarItem
regions:RegionManager.RegionName
=
"NavPanelMaintenanceRegion"
Header
=
"Maintenance"
>
</
telerik:RadPanelBarItem
>
<
telerik:RadPanelBarItem
regions:RegionManager.RegionName
=
"NavPanelReportingRegion"
Header
=
"Reporting"
>
</
telerik:RadPanelBarItem
>
</
telerik:RadPanelBar
>
Then each of the modules has one to many panel bar items defined:
<
telerik:RadPanelBarItem
x:Class
=
"Modules.Dashboard.Views.DashboardPanelItemView"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
xmlns:regions
=
"http://www.codeplex.com/CompositeWPF"
xmlns:vm
=
"clr-namespace:Modules.Dashboard.ViewModels"
Header
=
"Homepage"
>
<
telerik:RadPanelBarItem.Resources
>
<
vm:DashboardCommandViewModel
x:Key
=
"DashboardCommandVm"
/>
</
telerik:RadPanelBarItem.Resources
>
<
telerik:RadPanelBarItem.Command
>
<
Binding
Source
=
"{StaticResource DashboardCommandVm}"
Path
=
"Home"
/>
</
telerik:RadPanelBarItem.Command
>
</
telerik:RadPanelBarItem
>
And during module initalization, the following is called:
public
void
Initialize()
{
Container.RegisterType<Object, Views.DashboardView>(
"DashboardView"
);
this
._regionViewRegistry.RegisterViewWithRegion(RegionNames.Navigation.HomeNavigationPanelRegion,
typeof
(Views.DashboardPanelItemView));
this
._regionViewRegistry.RegisterViewWithRegion(
"ContentRegion"
,
typeof
(DashboardView));
}
Prior to the update, this worked just fine and the panel bar items were injected under their respective parents. Now, though, post-upgrade, it's no longer functioning.
Any thoughts?