I'd like to my own basic MainWindow
. I'd than create a new MyWindow
which inherits all the controls and stuff from custom MainWindow
.
I tried to google it but I haven't found answer to my problem. When I try to use a new Window
as base for another Window
Visual Studio says:
WpfApplication1.MainWindowCustom cannot be the root of a XAML file because it was defined using XAML.
How can I achieve this?