title: How to create instance of class in XAML?
body: <p>I want to create simple utility class that has no visual elements and create it in XAML so I can define databindings. I tried to create class derived from <code>DependencyObject</code> and create it in <code>Window.Resources</code> section but it doesn't call any constructor.</p>