我想在一個WPF組合框「的DisplayMemberPath」綁定到一個Lookup<char, string>)
綁定組合框查找<字符,字符串>
,我沒有得到任何地方,這是我的XAML ...
<ComboBox
ItemsSource="{Binding Dimensions}"
DisplayMemberPath ="Element"
SelectedValuePath="Key"
SelectedValue=...
/>
如果我綁定「的DisplayMemberPath」到「關鍵」我可以看到查找鍵,所以我知道它有點工作,但是我想結合查找的元素部分,看看顯示的文字。
我也嘗試過DisplayMemberPath路徑中的「分組」,但沒有奏效。