Edit

Share via


WKInterfaceButton.SetEnabled(Boolean) Method

Definition

Enables or disable the button.

[Foundation.Export("setEnabled:")]
public virtual void SetEnabled (bool enabled);
abstract member SetEnabled : bool -> unit
override this.SetEnabled : bool -> unit

Parameters

enabled
Boolean

true if the button should be enabled.

Attributes

Applies to