Table of Contents

Method SetItemChecked

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

SetItemChecked(int, bool)

Checks or clears the check state for the specified item.

public virtual bool SetItemChecked(int index, bool value)

Parameters

index int

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

value bool

true to check the specified item; otherwise, false.

Returns

bool

Remarks

This method repaints control and raises events. Use SetItemCheckedCore(int, bool) method to change checked state without raising events and repainting the control.