I have a Custom Control which uses some PART controls:
[TemplatePart(Name = \"PART_TitleTextBox\", Type = typeof(TextBox))]
[TemplatePart(Name = \"PART_Titl
Answer of @MoMo is correct, but additionally:
E: It is expected that the Themes/Generic.xaml is in the root of your project. If this is not the case and your Generic.xaml is not in the root then you have to create a directory Themes with Generic.xaml in the root (Generic.xaml is just of type ResourceDictionary). In that Generic.xaml you need to reference to the location of your Generic.xaml.
e.g.: