NSSliderAccessoryBehavior.CreateBehavior 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
参数
- handler
- Action<NSSliderAccessory>
返回
- 属性
适用于
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
返回
- 属性