次の方法で共有


NSView_NSTouchBar.SetAllowedTouchTypes(NSView, NSTouchTypeMask) Method

Definition

[Foundation.Export("setAllowedTouchTypes:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void SetAllowedTouchTypes(this AppKit.NSView This, AppKit.NSTouchTypeMask touchTypes);
[<Foundation.Export("setAllowedTouchTypes:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member SetAllowedTouchTypes : AppKit.NSView * AppKit.NSTouchTypeMask -> unit

Parameters

This
NSView

The instance on which this method operates.

touchTypes
NSTouchTypeMask
Attributes

Applies to