Deselection on a WPF listbox with extended selection mode

后端 未结 2 1332
一向
一向 2020-12-20 23:40

I have a simple listbox with extended selection mode. Selection works almost perfectly fine like it works in explorer. But deselection doesn\'t really work all that well. W

2条回答
  •  一整个雨季
    2020-12-20 23:47

    I've used myListBox.SelectedItems.Clear(). Most selected items collections are read-only, but not the list boxes.

提交回复
热议问题