Check Box ListSet Item Check State(Int 32, Check State) Method
Sets the check state of the item at the specified index to the specified value
Definition
Namespace: EWSoftware.ListControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
C#
public void SetItemCheckState(
int index,
CheckState state
)VB
Public Sub SetItemCheckState (
index As Integer,
state As CheckState
)C++
public:
void SetItemCheckState(
int index,
CheckState state
)F#
member SetItemCheckState :
index : int *
state : CheckState -> unit Parameters
- index Int32
- The index of the item to change
- state CheckState
- The new check state of the item
Exceptions
| ArgumentOutOfRangeException | This is thrown if the index value is not within the bounds of the item collection. |