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
Post a Comment