Dialog.SetCancelable(Boolean) Dialog.SetCancelable(Boolean) Method


Sets whether this dialog is cancelable with the Back key.

[Android.Runtime.Register("setCancelable", "(Z)V", "GetSetCancelable_ZHandler")]
public virtual void SetCancelable (bool flag);
abstract member SetCancelable : bool -> unit
override this.SetCancelable : bool -> unit



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.

Applies to