Bug 16232 - NSTableView is missing a binding for dragImageForRowsWithIndexes
Summary: NSTableView is missing a binding for dragImageForRowsWithIndexes
Status: RESOLVED ANSWERED
Alias: None
Product: MonoMac
Classification: Desktop
Component: Bindings ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2013-11-14 12:40 UTC by Frank A. Krueger
Modified: 2015-02-17 16:31 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED ANSWERED

Description Frank A. Krueger 2013-11-14 12:40:46 UTC
This used to be in there (I have code that overrides it) but seems to have gotten lost in the XamMac upgrade.

It was:

public override NSImage DragImageForRows (NSIndexSet dragRows, NSArray tableColumns, NSEvent dragEvent, ref PointF dragImageOffset)
{
}

- (NSImage *)dragImageForRowsWithIndexes:(NSIndexSet *)dragRows tableColumns:(NSArray *)tableColumns event:(NSEvent *)dragEvent offset:(NSPointPointer)dragImageOffset


https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSTableView_Class/Reference/Reference.html#//apple_ref/doc/uid/20000118-SW151
Comment 1 Timothy Risi 2015-02-17 16:31:25 UTC
There's a method on NSTableView:

[Export ("dragImageForRowsWithIndexes:tableColumns:event:offset:")]
NSImage DragImageForRowsWithIndexestableColumnseventoffset (NSIndexSet dragRows, NSTableColumn [] tableColumns, NSEvent dragEvent, ref CGPoint dragImageOffset);

I can't find any evidence searching through past commits of there ever having been a DragImageForRows method that was removed.