Język

SFAuthorizationPluginView.SetButton(SFButtonType, Boolean) Metoda

Definicja

Włącza lub wyłącza określony przycisk.

[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

Parametry

buttonType
SFButtonType

Przycisk włączania lub wyłączania.

enabled
Boolean

true aby włączyć przycisk; false aby go wyłączyć.

Atrybuty

Dotyczy