wpf d:Data context code example
Example: wpf setting data context
//Inside your XAML
<Window.DataContext>
<local:FilterElements/>
</Window.DataContext>
//FilterElements being a class you created
//Inside your XAML
<Window.DataContext>
<local:FilterElements/>
</Window.DataContext>
//FilterElements being a class you created