net10.0-macos14.2
namespace AppKit
{
    [Protocol(Name = "NSPathControlDelegate", WrapperType = typeof(NSPathControlDelegateWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillDisplayOpenPanel", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSPathControl), typeof(NSOpenPanel) }, Selector = "pathControl:willDisplayOpenPanel:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillPopUpMenu", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSPathControl), typeof(NSMenu) }, Selector = "pathControl:willPopUpMenu:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldDragPathComponentCell", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSPathControl), typeof(NSPathComponentCell), typeof(NSPasteboard) }, ReturnType = typeof(bool), Selector = "pathControl:shouldDragPathComponentCell:withPasteboard:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ValidateDrop", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSPathControl), typeof(INSDraggingInfo) }, ReturnType = typeof(NSDragOperation), Selector = "pathControl:validateDrop:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "AcceptDrop", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSPathControl), typeof(INSDraggingInfo) }, ReturnType = typeof(bool), Selector = "pathControl:acceptDrop:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldDragItem", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSPathControl), typeof(NSPathControlItem), typeof(NSPasteboard) }, ReturnType = typeof(bool), Selector = "pathControl:shouldDragItem:withPasteboard:")]
    [SupportedOSPlatform("macos")]
    [UnsupportedOSPlatform("maccatalyst")]
    public interface INSPathControlDelegate : INativeObject, IDisposable
    {
        [BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
        [Export("pathControl:willPopUpMenu:")]
        [OptionalMember]
        virtual void WillPopUpMenu(NSPathControl! pathControl, NSMenu! menu);
    }
}
.NET
10.0
Information specific to net10.0
Platforms This API is only available when you target a specific platform:
macOS
10.1410.1510.1611.011.111.211.312.012.112.313.013.113.314.014.2
Information specific to net10.0-macos14.2
Assembly

Microsoft.macOS , Version=15.5.0.0, PublicKeyToken=84e04ff9cfb79065

Referencing

The API is automatically referenced.

Preview The API is contained in a preview framework.
Platform Restrictions

This API is only supported on the following platforms:

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