What is alternative to ListView's SelectedIndices property in Infragistics UltraListview?
FYI: SelectedIndices Property gets index of Selected Item in List View.
For more info please refer: Finding the s开发者_C百科elected item of list view
Please reply
Thanks
UltraListView.SelectedItems
returns a collection of UltraListViewItem
objects with Selected = True
.
To emulate the SelectedIndicies, you can call this LINQ code (VB):
Dim indicies() as Integer = CType(listView.SelectedItems.All(), UltraListViewItem()).Select(Function(i) i.Index).ToArray()
精彩评论