Android.Widget.AbsListView.SetItemChecked Method
Sets the checked state of the specified position.

Syntax

[Android.Runtime.Register("setItemChecked", "(IZ)V", "GetSetItemChecked_IZHandler")]
public virtual void SetItemChecked (int position, bool value)

Parameters

position
The item whose checked state is to be checked
value
The new checked state for the item

Remarks

Sets the checked state of the specified position. The is only valid if the choice mode has been set to AbsListView.CHOICE_MODE_SINGLE or AbsListView.CHOICE_MODE_MULTIPLE.

[Android Documentation]

Requirements

Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1