Language

ActivityOptions.AllowPassThroughOnTouchOutside Property

Definition

Returns whether the source activity allows the overlaying activities from the to-be-launched app to pass through touch events to it when touches fall outside the content window. -or- Sets whether the source activity allows the overlaying activities from the to-be-launched app to pass through touch events to it when touches fall outside the content window.

public virtual bool AllowPassThroughOnTouchOutside { [Android.Runtime.Register("isAllowPassThroughOnTouchOutside", "()Z", "GetIsAllowPassThroughOnTouchOutsideHandler", ApiSince=36)] get; [Android.Runtime.Register("setAllowPassThroughOnTouchOutside", "(Z)V", "GetSetAllowPassThroughOnTouchOutside_ZHandler", ApiSince=36)] set; }
[<get: Android.Runtime.Register("isAllowPassThroughOnTouchOutside", "()Z", "GetIsAllowPassThroughOnTouchOutsideHandler", ApiSince=36)>]
[<set: Android.Runtime.Register("setAllowPassThroughOnTouchOutside", "(Z)V", "GetSetAllowPassThroughOnTouchOutside_ZHandler", ApiSince=36)>]
member this.AllowPassThroughOnTouchOutside : bool with get, set

Property Value

The source activity's opt-in to receive touches outside an overlaying launched activity's content window. It is ignored when the launch context is not an activity.

Attributes

Remarks

Returns whether the source activity allows the overlaying activities from the to-be-launched app to pass through touch events to it when touches fall outside the content window.

See also:

Android reference for android.app.ActivityOptions.isAllowPassThroughOnTouchOutside.

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