NSSliderAccessoryBehavior.CreateBehavior 方法

定义

重载

CreateBehavior(Action<NSSliderAccessory>)
CreateBehavior(NSObject, Selector)

CreateBehavior(Action<NSSliderAccessory>)

[Foundation.Export("behaviorWithHandler:")]
public static AppKit.NSSliderAccessoryBehavior CreateBehavior (Action<AppKit.NSSliderAccessory> handler);
static member CreateBehavior : Action<AppKit.NSSliderAccessory> -> AppKit.NSSliderAccessoryBehavior

参数

返回

属性

适用于

CreateBehavior(NSObject, Selector)

[Foundation.Export("behaviorWithTarget:action:")]
public static AppKit.NSSliderAccessoryBehavior CreateBehavior (Foundation.NSObject target, ObjCRuntime.Selector action);
static member CreateBehavior : Foundation.NSObject * ObjCRuntime.Selector -> AppKit.NSSliderAccessoryBehavior

参数

target
NSObject
action
Selector

返回

属性

适用于