共用方式為


View.FilterTouchesWhenObscured Property

Definition

Gets whether the framework should discard touches when the view's window is obscured by another visible window at the touched location. -or- Sets whether the framework should discard touches when the view's window is obscured by another visible window at the touched location.

public virtual bool FilterTouchesWhenObscured { [Android.Runtime.Register("getFilterTouchesWhenObscured", "()Z", "GetGetFilterTouchesWhenObscuredHandler")] get; [Android.Runtime.Register("setFilterTouchesWhenObscured", "(Z)V", "GetSetFilterTouchesWhenObscured_ZHandler")] set; }
[<get: Android.Runtime.Register("getFilterTouchesWhenObscured", "()Z", "GetGetFilterTouchesWhenObscuredHandler")>]
[<set: Android.Runtime.Register("setFilterTouchesWhenObscured", "(Z)V", "GetSetFilterTouchesWhenObscured_ZHandler")>]
member this.FilterTouchesWhenObscured : bool with get, set

Property Value

True if touch filtering is enabled.

Attributes

Remarks

Property getter documentation:

Gets whether the framework should discard touches when the view's window is obscured by another visible window at the touched location. Refer to the View security documentation for more details.

Java documentation for android.view.View.getFilterTouchesWhenObscured().

Property setter documentation:

Sets whether the framework should discard touches when the view's window is obscured by another visible window at the touched location. Refer to the View security documentation for more details.

Java documentation for android.view.View.setFilterTouchesWhenObscured(boolean).

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

See also