Table of Contents

Method SetChecked

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

SetChecked(int, bool)

Checks or clears the check state for the specified item in a CheckListBox.

public void SetChecked(int index, bool value)

Parameters

index int

The zero-based index of the item in a CheckListBox to set or clear the check state.

value bool

true to check the specified item; otherwise, false.

Exceptions

ArgumentOutOfRangeException

The specified index was outside the range of valid values.