共用方式為


View.DispatchSetSelected(Boolean) Method

Definition

Dispatch setSelected to all of this View's children.

[Android.Runtime.Register("dispatchSetSelected", "(Z)V", "GetDispatchSetSelected_ZHandler")]
protected virtual void DispatchSetSelected (bool selected);
[<Android.Runtime.Register("dispatchSetSelected", "(Z)V", "GetDispatchSetSelected_ZHandler")>]
abstract member DispatchSetSelected : bool -> unit
override this.DispatchSetSelected : bool -> unit

Parameters

selected
Boolean

The new selected state

Attributes

Remarks

Dispatch setSelected to all of this View's children.

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