How find first checked item index in a c# checkedlistbox with lambda -


i need set selectedindex of mycheckedlistbox first checked item index of list , highlight it.

how write lambda expression select min index of mycheckedlistbox.checkeditems alternate using loop.

you don't need lambda or loop. selectedindex property that.

from msdn:

listcontrol.selectedindex property
gets or sets lowest ordinal index of selected items in list.


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

image - ClassNotFoundException when add a prebuilt apk into system.img in android -