共用方式為


IMenuItem.IsEnabled Property

Definition

Return the enabled state of the menu item.

public bool IsEnabled { [Android.Runtime.Register("isEnabled", "()Z", "GetIsEnabledHandler:Android.Views.IMenuItemInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; }
[<get: Android.Runtime.Register("isEnabled", "()Z", "GetIsEnabledHandler:Android.Views.IMenuItemInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.IsEnabled : bool

Property Value

Attributes

Remarks

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