Dialog.SetCanceledOnTouchOutside(Boolean) Dialog.SetCanceledOnTouchOutside(Boolean) Method

Definition

Sets whether this dialog is canceled when touched outside the window's bounds.

[Android.Runtime.Register("setCanceledOnTouchOutside", "(Z)V", "GetSetCanceledOnTouchOutside_ZHandler")]
public virtual void SetCanceledOnTouchOutside (bool cancel);
abstract member SetCanceledOnTouchOutside : bool -> unit
override this.SetCanceledOnTouchOutside : bool -> unit

Parameters

cancel
Boolean Boolean

Whether the dialog should be canceled when touched outside the window.

Remarks

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