Hi,
I realize x:Static
and x:Array
markup-extensions are not supported in UWP XAML.
Is this on purpose? Can we please have these features implemented?
One of the things that x:Bind can do is reference static members, for for example
public static string TestProp = "Hello";
and
<TextBlock Text="{x:Bind local:MainPage.TestProp}" />
Thanks for that @MikeHillberg. To the other subject, is there a way to initialize collections in UWP XAML?
No, no x:Array. Another one I've wondered about is <x:List>, which in a c# app would create a List<T>.
Any update on this? Would be a really nice feature as I used it in some wpf projects.
Most helpful comment
No, no x:Array. Another one I've wondered about is <x:List>, which in a c# app would create a List<T>.