편집

다음을 통해 공유


UIBarButtonItem.Enabled Property

Definition

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.

Applies to