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: 2024.12.18.0+3a863295c73252b22e8ab6862ed6bdc57bcbd0fc
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