Bug 4711 - WillDisplayCell in NSTableView doesn't work.
Summary: WillDisplayCell in NSTableView doesn't work.
Status: RESOLVED FIXED
Alias: None
Product: MonoMac
Classification: Desktop
Component: Bindings ()
Version: unspecified
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-04-28 15:01 UTC by addr.ml.only
Modified: 2012-09-05 13:54 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 FIXED

Description addr.ml.only 2012-04-28 15:01:26 UTC
The code below doesn't work.
The appended event (in RHS) is never called,
moreover, cells are white out (never drawn) .

// view is a instance of NSTableView.
view.WillDisplayCell += ...;
Comment 1 addr.ml.only 2012-05-02 05:46:33 UTC
The concrete code is below.

// view is a instance of NSTableView.
view.WillDisplayCell += (Object sender_, NSTableViewCellEventArgs event_) => {
    Console.WriteLine("called.");  // never called.
};

Other user's comment
http://stackoverflow.com/questions/10259269/monomac-events-changing-color-of-nstable-row
Comment 2 Martin Baulig 2012-08-27 11:22:11 UTC
Fixed; maccore commit 70d2708 / monomac commit 065d733