开发者

Finding selected item of Ultralistview

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()
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜