WPF Combobox DisplayMemberPath

后端 未结 6 1380
执念已碎
执念已碎 2020-11-28 08:35

Ok, I looked at other questions and didn\'t seem to get my answer so hopefully someone here can.

Very simple question why does the DisplayMemberPath property not bin

6条回答
  •  粉色の甜心
    2020-11-28 09:14

    DisplayMemberPath specifies the path to the display string property for each item. In your case, you'd set it to "Name", not "{Binding Name}".

提交回复
热议问题