Language

SFAuthorizationPluginView.SetButton(SFButtonType, Boolean) Method

Definition

Enables or disables the specified button.

[Foundation.Export("setButton:enabled:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetButton(SecurityInterface.SFButtonType buttonType, bool enabled);
[<Foundation.Export("setButton:enabled:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetButton : SecurityInterface.SFButtonType * bool -> unit
override this.SetButton : SecurityInterface.SFButtonType * bool -> unit

Parameters

buttonType
SFButtonType

The button to enable or disable.

enabled
Boolean

true to enable the button; false to disable it.

Attributes

Applies to