Share via


ComponentInfo.IsEnabled Property

Definition

Return whether this component and its enclosing application are enabled.

public virtual bool IsEnabled { [Android.Runtime.Register("isEnabled", "()Z", "GetIsEnabledHandler")] get; }
[<get: Android.Runtime.Register("isEnabled", "()Z", "GetIsEnabledHandler")>]
member this.IsEnabled : bool

Property Value

Attributes

Remarks

Return whether this component and its enclosing application are enabled.

Java documentation for android.content.pm.ComponentInfo.isEnabled().

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