public override void WillOpenMenu(NSMenu menu, NSEvent theEvent) { base.WillOpenMenu(menu, theEvent); if (Row < 0) { menu.CancelTracking(); } }