One selection only in listview
I'm having problem to find solution to make a single selection row in the listview in my WPF applic开发者_Go百科ation.
How should I do it?
SelectionMode
="Single"
?
The answer above is for ListBox, not ListView .
For a ListView you set the MultiSelect property to False (can be done via the Designer).
ListView in WPF has SelectionMode="Single" .
精彩评论