【发布时间】:2012-05-22 14:48:20
【问题描述】:
我希望在 XAML 中声明一个数组。我可以在 WPF 中做到这一点。只是似乎无法在 WinRT 中找到正确的命名空间。有人知道吗?
<Page xmlns:list="?Something?">
<Page.Resources>
<x:Int32 x:Name="MyScalarValue">123</x:Int32>
<list:Array x:Name="MyValueList">
<x:Int32>123</x:Int32>
<x:Int32>456</x:Int32>
<list:Array>
</Page.Resources>
</Page>
【问题讨论】:
标签: windows-8 winrt-xaml