I have a Window.Resource object and the next statement
<CollectionViewSource
Source="{Binding Source={x:Static Application.Current}, Path=someProperty}"
x:Key="someView" />
But what if I need to point to a public property in the Window's code-behind, not the App's? I've tried to use 'this' instead of 'Application.Current', but it doesn't work.
Help me...
UPD: Actually found a way:
Binding Source=Self