I'm currently running Visual Studio 2022 64-bit, latest version on Windows 11, latest version. My project is targeting .NET Framework 4.8. I'm running the latest version of the Telerik Tools for WPF R2 2022 SP1.
I'm attempting to create a custom implementation of RadWindow by inheriting from it, for example, my base class looks like:
Namespace Windows
Partial Public Class TBaseRadWindow
Inherits Telerik.Windows.Controls.RadWindow
Implements System.ComponentModel.INotifyPropertyChanged, IDisposable
....
End Class
End Namespace
When I show my derived Window which comes from this class, I get a tiny, blank RadWindow with no chrome. Based on my reading, it appears this is caused by NoXAML and the need for the styles to be added to the application's ResourceDictionary. I'm attempting to follow the instructions from this forum post: https://www.telerik.com/forums/unable-to-display-a-radwindow
The forum post says to add these resources to the MergedDictionary this way:
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="Themes/System.Windows.xaml" />
<ResourceDictionary Source="Themes/Telerik.Windows.Controls.xaml" />
<ResourceDictionary Source="Themes/Telerik.Windows.Controls.Navigation.xaml" />
</ResourceDictionary.MergedDictionaries>
<Style TargetType="local:PreferencesView" BasedOn="{StaticResource RadWindowStyle}" />
</ResourceDictionary>
</Application.Resources>
However, when I add these three items to my MergedDictionaries (I have one already that works fine) when I compile I get an error "IO Exception: Cannot location resource "themes/system.windows.xaml".
My project references System.Windows, Telerik.Windows.Controls, and many others. Where can I get this system.windows.xaml from?