共用方式為


ViewStructure.SetActivated(Boolean) Method

Definition

Set the activated state of this view, as per View#isActivated View.isActivated().

[Android.Runtime.Register("setActivated", "(Z)V", "GetSetActivated_ZHandler", ApiSince=23)]
public abstract void SetActivated (bool state);
[<Android.Runtime.Register("setActivated", "(Z)V", "GetSetActivated_ZHandler", ApiSince=23)>]
abstract member SetActivated : bool -> unit

Parameters

state
Boolean
Attributes

Remarks

Set the activated state of this view, as per View#isActivated View.isActivated().

Java documentation for android.view.ViewStructure.setActivated(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