UIKit.UIBarButtonItem.Enabled Property
Allows control over whether a UIBarButtonItem is enabled or disabled.

Syntax

[get: Foundation.Export("isEnabled")]
[set: Foundation.Export("setEnabled:")]
public override bool Enabled { get; set; }

Value

True if the UIBarButtonItem is enabled. False if it is disabled.

Remarks

If a UIBarButtonItem is enabled, it can be interacted with. If it is disabled, it still appears, but cannot be interacted with.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0