Android Guides | Samples

Android.Content.IDialogInterfaceOnMultiChoiceClickListener.OnClick Method

This method will be invoked when an item in the dialog is clicked.

Syntax

[Android.Runtime.Register("onClick", "(Landroid/content/DialogInterface;IZ)V", "GetOnClick_Landroid_content_DialogInterface_IZHandler:Android.Content.IDialogInterfaceOnMultiChoiceClickListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Void OnClick (IDialogInterface dialog, Int32 which, Boolean isChecked)

Parameters

dialog
The dialog where the selection was made.
which
The position of the item in the list that was clicked.
isChecked
True if the click checked the item, else false.

Remarks

This method will be invoked when an item in the dialog is clicked.

[Android Documentation]

Requirements

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