CheckBoxListSetItemChecked(Int32, Boolean) Method

Sets the check state of the item at the specified index to Checked or Unchecked

Definition

Namespace: EWSoftware.ListControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
public void SetItemChecked(
	int index,
	bool check
)

Parameters

index  Int32
The index of the item to check or uncheck
check  Boolean
True to check the item, false to uncheck it

Exceptions

ArgumentOutOfRangeExceptionThis is thrown if the index value is not within the bounds of the item collection.

See Also