Method SetItemCheckState
SetItemCheckState(int, CheckState)
Changes the check state for the specified item.
public virtual bool SetItemCheckState(int index, CheckState value)
Parameters
index
intThe zero-based index of the item in the control to change the check state.
value
CheckStateNew value.
Returns
Remarks
This method repaints control and raises events. Use SetItemCheckStateCore(int, CheckState) method to change checked state without raising events and repainting the control.