2013-03-12 106 views

回答

1

比方說,你有ItemsSource設置爲你的Dictionary<string, Dictionary<string, SOME_TYPE>>。在這種情況下,您可以綁定到KeyValue,其中Value將爲Dictionary<string, SOME_TYPE>

你可以做的話,是綁定一個DataTemplate中的元素的DataContext(假設這是你所使用的)到Value,並設置屬性綁定到無論是Key或兒童字典Value

相關問題