假设我想绑定到 TKey 是 XAML 字符串的字典:
<Label DataContext="{MyDictionary}" Content="{Binding Item("OK")}" />
不工作。
我该怎么做?
我说的是 Item("Key")
假设我想绑定到 TKey 是 XAML 字符串的字典:
<Label DataContext="{MyDictionary}" Content="{Binding Item("OK")}" />
不工作。
我该怎么做?
我说的是 Item("Key")