Table of Contents

Method SetItemCheckState

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

SetItemCheckState(int, CheckState)

Changes the check state for the specified item.

public virtual bool SetItemCheckState(int index, CheckState value)

Parameters

index int

The zero-based index of the item in the control to change the check state.

value CheckState

New value.

Returns

bool

Remarks

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