次の方法で共有


View.DispatchSetPressed(Boolean) Method

Definition

Dispatch setPressed to all of this View's children.

[Android.Runtime.Register("dispatchSetPressed", "(Z)V", "GetDispatchSetPressed_ZHandler")]
protected virtual void DispatchSetPressed (bool pressed);
[<Android.Runtime.Register("dispatchSetPressed", "(Z)V", "GetDispatchSetPressed_ZHandler")>]
abstract member DispatchSetPressed : bool -> unit
override this.DispatchSetPressed : bool -> unit

Parameters

pressed
Boolean

The new pressed state

Attributes

Remarks

Dispatch setPressed to all of this View's children.

Java documentation for android.view.View.dispatchSetPressed(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