Can't get the new 2009 XAML primitives working, why?

前端 未结 2 1696
闹比i
闹比i 2020-12-16 04:07

What I\'d like to use: 2009 XAML primitives

How it would be nice to use them:



        
2条回答
  •  抹茶落季
    2020-12-16 04:45

    I believe the key sentence on the documentation page is this:

    In WPF, you can use XAML 2009 features but only for XAML that is not markup-compiled. Markup-compiled XAML for WPF and the BAML form of XAML do not currently support the XAML 2009 keywords and features.

    So, if you're writing loose XAML that's loaded at runtime via a XamlReader, you can use these primitives. If you're writing XAML that's compiled, you can't.

提交回复
热议问题