MyUserControl cannot be the root of a XAML file because it was defined using XAML [duplicate]

See the MS Knowledgebase Article: http://support.microsoft.com/kb/957231 . Deriving user controls in XAML is not supported; you must derive user controls in code.

Leave a Comment