Hello,
I'm using a sample Prism Navigation project (View-Switching Navigation_Desktop_Unity) from Microsoft and I was trying to integrate docking from ActiPro.
I cannot figure out why the tabs for my documents that I'm creating are not displaying the title.
Below is a snippet from the Shell.xaml.
<docking:DockSite Grid.Column="1" Grid.Row="2" prism:RegionManager.RegionName="MainContentRegion" CanDocumentWindowsFloat="True" CanDocumentWindowsClose="False">
<docking:Workspace>
<docking:TabbedMdiHost />
</docking:Workspace>
</docking:DockSite>
There are three views that can be displayed in the MainContentRegion:
CalendarView
ContactsView
InboxView
The corresponding viewModels are:
CalendarViewModel
ContactsViewModel
InboxViewModel
All the viewmodels inherit from DockingItemViewModelBase which has a "Title" property that is bound to the ActiPro "DockingWindow.TitleProperty" property.
I'm setting the "Title" property in the constructor of my viewModels, however, the title is never displayed on the document tab for any of the views.
Please advise.
Thanks,
Khalid