共用方式為


NSGroupTouchBarItem.CreateGroupItem 方法

定義

多載

CreateGroupItem(String, NSTouchBarItem[])
CreateGroupItem(String, NSTouchBarItem[], NSUserInterfaceCompressionOptions)

CreateGroupItem(String, NSTouchBarItem[])

[Foundation.Export("groupItemWithIdentifier:items:")]
public static AppKit.NSGroupTouchBarItem CreateGroupItem (string identifier, AppKit.NSTouchBarItem[] items);
static member CreateGroupItem : string * AppKit.NSTouchBarItem[] -> AppKit.NSGroupTouchBarItem

參數

identifier
String
items
NSTouchBarItem[]

傳回

屬性

適用於

CreateGroupItem(String, NSTouchBarItem[], NSUserInterfaceCompressionOptions)

[Foundation.Export("groupItemWithIdentifier:items:allowedCompressionOptions:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
public static AppKit.NSGroupTouchBarItem CreateGroupItem (string identifier, AppKit.NSTouchBarItem[] items, AppKit.NSUserInterfaceCompressionOptions allowedCompressionOptions);
static member CreateGroupItem : string * AppKit.NSTouchBarItem[] * AppKit.NSUserInterfaceCompressionOptions -> AppKit.NSGroupTouchBarItem

參數

identifier
String
items
NSTouchBarItem[]
allowedCompressionOptions
NSUserInterfaceCompressionOptions

傳回

屬性

適用於