Språk

SFAuthorizationPluginView.SetButton(SFButtonType, Boolean) Metod

Definition

Aktiverar eller inaktiverar den angivna knappen.

[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

Parametrar

buttonType
SFButtonType

Knappen för att aktivera eller inaktivera.

enabled
Boolean

true för att aktivera knappen; false för att inaktivera den.

Attribut

Gäller för