views:

159

answers:

0

I have a template called template1.xaml and when I call this in Page.xaml and bind a string to the custom control property called "Title" it works. for example:

<Local:template1 Title="My Title" />

works in Page.xaml, but if I want to use Resx binding like this:

<Local:template1 Title="{Binding Strings.Hello, Source={StaticResource Strings}}"/>

is not working, but instead of using template1 in Page.xaml if I bind the resx directly to template1.xaml it's working

any idea why it doesn't work on Page.xaml?