DatePickerDialog.OnClick(IDialogInterface, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This method will be invoked when a button in the dialog is clicked.
[Android.Runtime.Register("onClick", "(Landroid/content/DialogInterface;I)V", "GetOnClick_Landroid_content_DialogInterface_IHandler")]
public virtual void OnClick(Android.Content.IDialogInterface dialog, int which);
[<Android.Runtime.Register("onClick", "(Landroid/content/DialogInterface;I)V", "GetOnClick_Landroid_content_DialogInterface_IHandler")>]
abstract member OnClick : Android.Content.IDialogInterface * int -> unit
override this.OnClick : Android.Content.IDialogInterface * int -> unit
Parameters
- dialog
- IDialogInterface
DialogInterface: This value cannot be null.
- which
- Int32
int: the button that was clicked (ex. DialogInterface.BUTTON_POSITIVE) or the position of the item clicked
Implements
- Attributes
Remarks
This method will be invoked when a button in the dialog is clicked.
Android reference for android.app.DatePickerDialog.onClick.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.