net9.0-macos
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
}
Assembly Microsoft.macOS , Version=14.0.0.0, PublicKeyToken=84e04ff9cfb79065
Help Documentation
.NET 6.0-maccatalyst6.0-macos7.0-maccatalyst7.0-macos8.0-maccatalyst8.0-macos9.0-maccatalyst9.0-macos
OS Platforms

For the selected framework this API is only supported on the following OS platforms:

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

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