net9.0-maccatalyst17.2
namespace AppKit
{
    [Protocol(Name = "NSToolbarDelegate", WrapperType = typeof(NSToolbarDelegateWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillAddItem", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSNotification) }, Selector = "toolbarWillAddItem:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidRemoveItem", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSNotification) }, Selector = "toolbarDidRemoveItem:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillInsertItem", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSToolbar), typeof(string), typeof(bool) }, ReturnType = typeof(NSToolbarItem), Selector = "toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DefaultItemIdentifiers", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSToolbar) }, ReturnType = typeof(string[]), Selector = "toolbarDefaultItemIdentifiers:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "AllowedItemIdentifiers", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSToolbar) }, ReturnType = typeof(string[]), Selector = "toolbarAllowedItemIdentifiers:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SelectableItemIdentifiers", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSToolbar) }, ReturnType = typeof(string[]), Selector = "toolbarSelectableItemIdentifiers:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetToolbarImmovableItemIdentifiers", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSToolbar) }, ReturnType = typeof(NSSet<NSString>), Selector = "toolbarImmovableItemIdentifiers:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetItemCanBeInsertedAt", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSToolbar), typeof(string), typeof(IntPtr) }, ReturnType = typeof(bool), Selector = "toolbar:itemIdentifier:canBeInsertedAtIndex:")]
    [SupportedOSPlatform("maccatalyst")]
    [SupportedOSPlatform("macos")]
    public interface INSToolbarDelegate : INativeObject, IDisposable
}
.NET 6.07.08.09.0
Information specific to net9.0
Platforms This API is only available when you target a specific platform:
Mac Catalyst 13.113.213.313.413.514.214.314.414.515.015.215.416.116.216.417.017.2
macOS 10.1410.1510.1611.011.111.211.312.012.112.313.013.113.314.014.2
Information specific to net9.0-maccatalyst17.2
Assembly

Microsoft.MacCatalyst , Version=17.2.0.0, PublicKeyToken=84e04ff9cfb79065

Referencing

The API is automatically referenced.

Platform Restrictions

This API is only supported on the following platforms:

  • Mac Catalyst
  • macOS
  • Built-in API
  • Package-provided API

12/28/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙