net9.0-macos14.2
namespace AppKit
{
[Protocol(Name = "NSDraggingInfo", WrapperType = typeof(NSDraggingInfoWrapper))]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "ResetSpringLoading", Selector = "resetSpringLoading")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "SlideDraggedImageTo", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(CGPoint) }, Selector = "slideDraggedImageTo:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "PromisedFilesDroppedAtDestination", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSUrl) }, ReturnType = typeof(string[]), Selector = "namesOfPromisedFilesDroppedAtDestination:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "EnumerateDraggingItems", ParameterBlockProxy = new[] { null, null, null, null, typeof(NIDNSDraggingEnumerator) }, ParameterByRef = new[] { false, false, false, false, false }, ParameterType = new[] { typeof(NSDraggingItemEnumerationOptions), typeof(NSView), typeof(IntPtr), typeof(NSDictionary), typeof(NSDraggingEnumerator) }, Selector = "enumerateDraggingItemsWithOptions:forView:classes:searchOptions:usingBlock:")]
[ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "draggingDestinationWindow", IsProperty = true, IsRequired = true, IsStatic = false, Name = "DraggingDestinationWindow", PropertyType = typeof(NSWindow), Selector = "draggingDestinationWindow")]
[ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "draggingSourceOperationMask", IsProperty = true, IsRequired = true, IsStatic = false, Name = "DraggingSourceOperationMask", PropertyType = typeof(NSDragOperation), Selector = "draggingSourceOperationMask")]
[ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "draggingLocation", IsProperty = true, IsRequired = true, IsStatic = false, Name = "DraggingLocation", PropertyType = typeof(CGPoint), Selector = "draggingLocation")]
[ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "draggedImageLocation", IsProperty = true, IsRequired = true, IsStatic = false, Name = "DraggedImageLocation", PropertyType = typeof(CGPoint), Selector = "draggedImageLocation")]
[ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "draggedImage", IsProperty = true, IsRequired = true, IsStatic = false, Name = "DraggedImage", PropertyType = typeof(NSImage), Selector = "draggedImage")]
[ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "draggingPasteboard", IsProperty = true, IsRequired = true, IsStatic = false, Name = "DraggingPasteboard", PropertyType = typeof(NSPasteboard), Selector = "draggingPasteboard")]
[ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "draggingSource", IsProperty = true, IsRequired = true, IsStatic = false, Name = "DraggingSource", PropertyType = typeof(NSObject), Selector = "draggingSource")]
[ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "draggingSequenceNumber", IsProperty = true, IsRequired = true, IsStatic = false, Name = "DraggingSequenceNumber", PropertyType = typeof(IntPtr), Selector = "draggingSequenceNumber")]
[ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "springLoadingHighlight", IsProperty = true, IsRequired = true, IsStatic = false, Name = "SpringLoadingHighlight", PropertyType = typeof(NSSpringLoadingHighlight), Selector = "springLoadingHighlight")]
[ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "animatesToDestination", IsProperty = true, IsRequired = true, IsStatic = false, Name = "AnimatesToDestination", PropertyType = typeof(bool), Selector = "animatesToDestination", SetterSelector = "setAnimatesToDestination:")]
[ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "numberOfValidItemsForDrop", IsProperty = true, IsRequired = true, IsStatic = false, Name = "NumberOfValidItemsForDrop", PropertyType = typeof(IntPtr), Selector = "numberOfValidItemsForDrop", SetterSelector = "setNumberOfValidItemsForDrop:")]
[ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "draggingFormation", IsProperty = true, IsRequired = true, IsStatic = false, Name = "DraggingFormation", PropertyType = typeof(NSDraggingFormation), Selector = "draggingFormation", SetterSelector = "setDraggingFormation:")]
[SupportedOSPlatform("macos")]
[UnsupportedOSPlatform("maccatalyst")]
public interface INSDraggingInfo : INativeObject, IDisposable
{
[ObsoletedOSPlatform("macos11.0", "Use 'NSDraggingItem' objects instead.")]
[Preserve(Conditional = true)]
[SupportedOSPlatform("macos")]
[UnsupportedOSPlatform("maccatalyst")]
NSImage! DraggedImage
{
[Export("draggedImage")]
get;
}
}
}
.NET | 6.07.08.09.0 |
---|---|
Information specific to net9.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 net9.0-macos14.2 | |
Assembly | Microsoft.macOS , Version=14.2.0.0, PublicKeyToken=84e04ff9cfb79065 |
Referencing | The API is automatically referenced. |
Platform Restrictions | The property getter is only supported on the following platforms:
|