SFAuthorizationPluginView.SetButton(SFButtonType, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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