Binding a Dictionary's key and value in a listbox with wpf
问题 I am trying to bind a dictionary's key to a row of the grid in a listbox, and bind the dictionary's value to another row of the grid. key's type is Book, a class thati wrote and the value's type is int. i want to write the elements of the class and the integer value in grid. Can you help me on this? I'm quite confused on determining the itemsSource and the data type to bind. thanks for helping Edit: i forgot to say that i am using c# - wpf. =) I sent the dictionary as the itemsSource, and i