开发者

How to explicitly select the row in ListView in WPF?

开发者 https://www.devze.com 2022-12-26 08:53 出处:网络
I have a ListView in which one of the column contains combo box. I have binded the selectedItem of a Listview, so that I get the current object (selected row) in the listview.

I have a ListView in which one of the column contains combo box.

I have binded the selectedItem of a Listview, so that I get the current object (selected row ) in the listview.

When I do any operation in a combo box like selection change then the listview row ( in which that combo box belongs) is not selected be default and hence my selectedItem gives null or previous row 开发者_StackOverflow中文版selected object.

Please Help!!


Your question is closely related to WPF ListView SelectedItem is null

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号