x:Static markup extension
Posted
by plotnick
on Stack Overflow
See other posts from Stack Overflow
or by plotnick
Published on 2010-03-11T18:26:17Z
Indexed on
2010/03/11
18:29 UTC
Read the original article
Hit count: 367
xaml
|markup-extensions
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...
© Stack Overflow or respective owner