UIButton.GetButton(UIButtonConfiguration, UIAction) 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.
[Foundation.Export("buttonWithConfiguration:primaryAction:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static UIKit.UIButton GetButton(UIKit.UIButtonConfiguration configuration, UIKit.UIAction? primaryAction);
[<Foundation.Export("buttonWithConfiguration:primaryAction:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member GetButton : UIKit.UIButtonConfiguration * UIKit.UIAction -> UIKit.UIButton
Parameters
- configuration
- UIButtonConfiguration
- primaryAction
- UIAction
Returns
- Attributes