You can reference your class in a XAML file by creating a reference to the namespace of your class and then including this as a resource . Something like this:-
xmlns:yourNameSpace="yourNameSpace Here">
<Window.Resources>
<yourNameSpace:yourClassHere x:Key="yourClas"/>
</Window.Resources>
Hope this helps