Share via


NSStepperTouchBarItem.Create Method

Definition

Overloads

Create(NSTouchBarItemIdentifier, NSFormatter)

[Foundation.Export("stepperTouchBarItemWithIdentifier:formatter:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static AppKit.NSStepperTouchBarItem Create(AppKit.NSTouchBarItemIdentifier identifier, Foundation.NSFormatter formatter);
[<Foundation.Export("stepperTouchBarItemWithIdentifier:formatter:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : AppKit.NSTouchBarItemIdentifier * Foundation.NSFormatter -> AppKit.NSStepperTouchBarItem

Parameters

formatter
NSFormatter

Returns

Attributes

Applies to

Create(NSTouchBarItemIdentifier, Action<CGRect,Double>)

[Foundation.Export("stepperTouchBarItemWithIdentifier:drawingHandler:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static AppKit.NSStepperTouchBarItem Create(AppKit.NSTouchBarItemIdentifier identifier, Action<CoreGraphics.CGRect,double> drawingHandler);
[<Foundation.Export("stepperTouchBarItemWithIdentifier:drawingHandler:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : AppKit.NSTouchBarItemIdentifier * Action<CoreGraphics.CGRect, double> -> AppKit.NSStepperTouchBarItem

Parameters

drawingHandler
Action<CGRect,Double>

Returns

Attributes

Applies to