WPF combobox value and display text

后端 未结 4 1114
無奈伤痛
無奈伤痛 2021-02-12 02:30

I\'m used to doing things like

State.Items.Add(new ListItem { Text = \"SomeState\", Value = NumericIDofState });

Where State is a Listbox in A

4条回答
提交回复
热议问题