Language

DialogFragment.Cancelable Property

Definition

Return the current value of #setCancelable(boolean). -or- Control whether the shown Dialog is cancelable.

public virtual bool Cancelable { [Android.Runtime.Register("isCancelable", "()Z", "GetIsCancelableHandler")] get; [Android.Runtime.Register("setCancelable", "(Z)V", "GetSetCancelable_ZHandler")] set; }
[<get: Android.Runtime.Register("isCancelable", "()Z", "GetIsCancelableHandler")>]
[<set: Android.Runtime.Register("setCancelable", "(Z)V", "GetSetCancelable_ZHandler")>]
member this.Cancelable : bool with get, set

Property Value

Attributes

Remarks

Return the current value of setCancelable(boolean).

Android reference for android.app.DialogFragment.isCancelable.

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