prism-7

Prism 7. Using PrismApplication.CreateShell() with a non Window control

一世执手 提交于 2021-01-27 20:55:19
问题 I would like to update from 6.3 to 7. I seem to have hit a road block. When using the PrismApplication class in the App.xaml, CreateShell expects a return type of Window instead of the previous BootStrapper which wanted a DependencyObject. My MainShell is a modified Telerik RadWindow which itself is a modified System.Windows.Controls.HeaderedContentControl and casting to Window is not possible. Is there a way around this so I can use the PrismApplication object or do I have to roll back and