Partial declarations must not specify different base classes

You have to change your CountryStandards XAML to:

<src:StandardsDefault x:Class="namespace.CountryStandards" 
    xmlns:src="NamespaceOfStandardsDefault" ... />

There is a good article about inheriting from a custom Window/Page in WPF.

Leave a Comment