Udostępnij za pośrednictwem


View.Enabled Property

Definition

Returns the enabled status for this view. -or- Set the enabled state of this view.

public virtual bool Enabled { [Android.Runtime.Register("isEnabled", "()Z", "GetIsEnabledHandler")] get; [Android.Runtime.Register("setEnabled", "(Z)V", "GetSetEnabled_ZHandler")] set; }
[<get: Android.Runtime.Register("isEnabled", "()Z", "GetIsEnabledHandler")>]
[<set: Android.Runtime.Register("setEnabled", "(Z)V", "GetSetEnabled_ZHandler")>]
member this.Enabled : bool with get, set

Property Value

True if this view is enabled, false otherwise.

Attributes

Remarks

Property getter documentation:

Returns the enabled status for this view. The interpretation of the enabled state varies by subclass.

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

Property setter documentation:

Set the enabled state of this view. The interpretation of the enabled state varies by subclass.

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