Compartir a través de


ViewStructure.SetEnabled(Boolean) Method

Definition

Set the enabled state of this view, as per View#isEnabled View.isEnabled().

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

Parameters

state
Boolean
Attributes

Remarks

Set the enabled state of this view, as per View#isEnabled View.isEnabled().

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