Lenguaje

SFAuthorizationPluginView.SetButton(SFButtonType, Boolean) Método

Definición

Activa o desactiva el botón especificado.

[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

Parámetros

buttonType
SFButtonType

Botón que se va a habilitar o deshabilitar.

enabled
Boolean

true para habilitar el botón; false para deshabilitarlo.

Atributos

Se aplica a