INSDraggingInfo Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This interface represents the Objective-C protocol NSDraggingInfo.
[Foundation.Protocol(Name="NSDraggingInfo", WrapperType=typeof(AppKit.NSDraggingInfoWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SlideDraggedImageTo", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(CoreGraphics.CGPoint) }, Selector="slideDraggedImageTo:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="PromisedFilesDroppedAtDestination", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrl) }, ReturnType=typeof(System.String[]), Selector="namesOfPromisedFilesDroppedAtDestination:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="EnumerateDraggingItems", ParameterBlockProxy=new System.Type[] { null, null, null, null, typeof(ObjCRuntime.Trampolines+NIDNSDraggingEnumerator) }, ParameterByRef=new System.Boolean[] { false, false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSDraggingItemEnumerationOptions), typeof(AppKit.NSView), typeof(System.IntPtr), typeof(Foundation.NSDictionary), typeof(AppKit.NSDraggingEnumerator) }, Selector="enumerateDraggingItemsWithOptions:forView:classes:searchOptions:usingBlock:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="ResetSpringLoading", Selector="resetSpringLoading")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="draggingDestinationWindow", IsProperty=true, IsRequired=true, IsStatic=false, Name="DraggingDestinationWindow", PropertyType=typeof(AppKit.NSWindow), Selector="draggingDestinationWindow")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="draggingSourceOperationMask", IsProperty=true, IsRequired=true, IsStatic=false, Name="DraggingSourceOperationMask", PropertyType=typeof(AppKit.NSDragOperation), Selector="draggingSourceOperationMask")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="draggingLocation", IsProperty=true, IsRequired=true, IsStatic=false, Name="DraggingLocation", PropertyType=typeof(CoreGraphics.CGPoint), Selector="draggingLocation")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="draggedImageLocation", IsProperty=true, IsRequired=true, IsStatic=false, Name="DraggedImageLocation", PropertyType=typeof(CoreGraphics.CGPoint), Selector="draggedImageLocation")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="draggedImage", IsProperty=true, IsRequired=true, IsStatic=false, Name="DraggedImage", PropertyType=typeof(AppKit.NSImage), Selector="draggedImage")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="draggingPasteboard", IsProperty=true, IsRequired=true, IsStatic=false, Name="DraggingPasteboard", PropertyType=typeof(AppKit.NSPasteboard), Selector="draggingPasteboard")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="draggingSource", IsProperty=true, IsRequired=true, IsStatic=false, Name="DraggingSource", PropertyType=typeof(Foundation.NSObject), Selector="draggingSource")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="draggingSequenceNumber", IsProperty=true, IsRequired=true, IsStatic=false, Name="DraggingSequenceNumber", PropertyType=typeof(System.IntPtr), Selector="draggingSequenceNumber")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="animatesToDestination", IsProperty=true, IsRequired=true, IsStatic=false, Name="AnimatesToDestination", PropertyType=typeof(System.Boolean), Selector="animatesToDestination", SetterSelector="setAnimatesToDestination:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="numberOfValidItemsForDrop", IsProperty=true, IsRequired=true, IsStatic=false, Name="NumberOfValidItemsForDrop", PropertyType=typeof(System.IntPtr), Selector="numberOfValidItemsForDrop", SetterSelector="setNumberOfValidItemsForDrop:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="draggingFormation", IsProperty=true, IsRequired=true, IsStatic=false, Name="DraggingFormation", PropertyType=typeof(AppKit.NSDraggingFormation), Selector="draggingFormation", SetterSelector="setDraggingFormation:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="springLoadingHighlight", IsProperty=true, IsRequired=true, IsStatic=false, Name="SpringLoadingHighlight", PropertyType=typeof(AppKit.NSSpringLoadingHighlight), Selector="springLoadingHighlight")]
public interface INSDraggingInfo : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="NSDraggingInfo", WrapperType=typeof(AppKit.NSDraggingInfoWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SlideDraggedImageTo", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(CoreGraphics.CGPoint) }, Selector="slideDraggedImageTo:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="PromisedFilesDroppedAtDestination", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSUrl) }, ReturnType=typeof(System.String[]), Selector="namesOfPromisedFilesDroppedAtDestination:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="EnumerateDraggingItems", ParameterBlockProxy=new System.Type[] { null, null, null, null, typeof(ObjCRuntime.Trampolines+NIDNSDraggingEnumerator) }, ParameterByRef=new System.Boolean[] { false, false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSDraggingItemEnumerationOptions), typeof(AppKit.NSView), typeof(System.IntPtr), typeof(Foundation.NSDictionary), typeof(AppKit.NSDraggingEnumerator) }, Selector="enumerateDraggingItemsWithOptions:forView:classes:searchOptions:usingBlock:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="ResetSpringLoading", Selector="resetSpringLoading")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="draggingDestinationWindow", IsProperty=true, IsRequired=true, IsStatic=false, Name="DraggingDestinationWindow", PropertyType=typeof(AppKit.NSWindow), Selector="draggingDestinationWindow")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="draggingSourceOperationMask", IsProperty=true, IsRequired=true, IsStatic=false, Name="DraggingSourceOperationMask", PropertyType=typeof(AppKit.NSDragOperation), Selector="draggingSourceOperationMask")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="draggingLocation", IsProperty=true, IsRequired=true, IsStatic=false, Name="DraggingLocation", PropertyType=typeof(CoreGraphics.CGPoint), Selector="draggingLocation")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="draggedImageLocation", IsProperty=true, IsRequired=true, IsStatic=false, Name="DraggedImageLocation", PropertyType=typeof(CoreGraphics.CGPoint), Selector="draggedImageLocation")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="draggedImage", IsProperty=true, IsRequired=true, IsStatic=false, Name="DraggedImage", PropertyType=typeof(AppKit.NSImage), Selector="draggedImage")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="draggingPasteboard", IsProperty=true, IsRequired=true, IsStatic=false, Name="DraggingPasteboard", PropertyType=typeof(AppKit.NSPasteboard), Selector="draggingPasteboard")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="draggingSource", IsProperty=true, IsRequired=true, IsStatic=false, Name="DraggingSource", PropertyType=typeof(Foundation.NSObject), Selector="draggingSource")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="draggingSequenceNumber", IsProperty=true, IsRequired=true, IsStatic=false, Name="DraggingSequenceNumber", PropertyType=typeof(System.IntPtr), Selector="draggingSequenceNumber")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="animatesToDestination", IsProperty=true, IsRequired=true, IsStatic=false, Name="AnimatesToDestination", PropertyType=typeof(System.Boolean), Selector="animatesToDestination", SetterSelector="setAnimatesToDestination:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="numberOfValidItemsForDrop", IsProperty=true, IsRequired=true, IsStatic=false, Name="NumberOfValidItemsForDrop", PropertyType=typeof(System.IntPtr), Selector="numberOfValidItemsForDrop", SetterSelector="setNumberOfValidItemsForDrop:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="draggingFormation", IsProperty=true, IsRequired=true, IsStatic=false, Name="DraggingFormation", PropertyType=typeof(AppKit.NSDraggingFormation), Selector="draggingFormation", SetterSelector="setDraggingFormation:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="springLoadingHighlight", IsProperty=true, IsRequired=true, IsStatic=false, Name="SpringLoadingHighlight", PropertyType=typeof(AppKit.NSSpringLoadingHighlight), Selector="springLoadingHighlight")>]
type INSDraggingInfo = interface
interface INativeObject
interface IDisposable
- 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 |
|---|---|
| AnimatesToDestination | |
| DraggedImage | |
| DraggedImageLocation | |
| DraggingDestinationWindow | |
| DraggingFormation | |
| DraggingLocation | |
| DraggingPasteboard | |
| DraggingSequenceNumber | |
| DraggingSource | |
| DraggingSourceOperationMask | |
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from INativeObject) |
| NumberOfValidItemsForDrop | |
| SpringLoadingHighlight | |