UIBarButtonItem.Enabled Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Allows control over whether a UIBarButtonItem is enabled or disabled.
public override bool Enabled { [Foundation.Export("isEnabled")] get; [Foundation.Export("setEnabled:")] set; }
member this.Enabled : bool with get, set
Property Value
True if the UIBarButtonItem is enabled. False if it is disabled.
- Attributes
Remarks
If a UIBarButtonItem is enabled, it can be interacted with. If it is disabled, it still appears, but cannot be interacted with.