{StaticResource} and {templateBinding} markup extensions as object elements RRS feed

  • General discussion

  • Why this is works:

    <TextBlock Text="{StaticResource string}" />

    But object element syntax fails to compile:

        <StaticResource ResourceKey="string" />

    The same issue with {TemplateBinding} markup extension, but it works well with {x:Null}. Also this is works in every WPF, every SL, why not in WinRT? What's wrong, folks?

    Saturday, March 24, 2012 12:19 AM

All replies