2013-03-12 170 views

回答

1

比方说,你有ItemsSource设置为你的Dictionary<string, Dictionary<string, SOME_TYPE>>。在这种情况下,您可以绑定到KeyValue,其中Value将为Dictionary<string, SOME_TYPE>

你可以做的话,是绑定一个DataTemplate中的元素的DataContext(假设这是你所使用的)到Value,并设置属性绑定到无论是Key或儿童字典Value

相关问题