Property CheckedIndex
CheckedIndex
Gets or sets the zero-based index of the currently checked item in a ListBox.
[Browsable(false)]
public int? CheckedIndex { get; set; }
Property Value
- int?
A zero-based index of the currently checked item. A value of
null
is returned if no item is checked.
Exceptions
- ArgumentOutOfRangeException
The assigned value is less than 0 or greater than or equal to the item count.