Share via


INSTouchBarDelegate Interface

Definition

This interface represents the Objective-C protocol NSTouchBarDelegate.

[Foundation.Protocol(Name="NSTouchBarDelegate", WrapperType=typeof(AppKit.NSTouchBarDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="MakeItem", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSTouchBar), typeof(System.String) }, ReturnType=typeof(AppKit.NSTouchBarItem), Selector="touchBar:makeItemForIdentifier:")]
public interface INSTouchBarDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="NSTouchBarDelegate", WrapperType=typeof(AppKit.NSTouchBarDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="MakeItem", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSTouchBar), typeof(System.String) }, ReturnType=typeof(AppKit.NSTouchBarItem), Selector="touchBar:makeItemForIdentifier:")>]
type INSTouchBarDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.

A class may also implement members from this interface to implement members from the protocol.

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
MakeItem(NSTouchBar, String)

Extension Methods

Name Description
MakeItem(INSTouchBarDelegate, NSTouchBar, String)
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to