To generate an event handler the class '{0}', specified by the x:Class or x:Subclass attribute, must be the first class in ...