Please tell me how I can mainwindow.xaml all the style-ресурсы out of mainwindow.xaml into a separate file so that my eyes rejoice: D, otherwise it’s just hard to navigate in code when you have resources in the main file that occupy 50% of all code.