Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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 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.
When adding an event to a control in iOS designer, the partial method declaration is added to the .designer.cs file but a shell method implementation is not added to the main .cs file for the class. As an enhancement, it would be nice if an empty method implementation was added as well.
I think you should be able to double click the handler in the property panel to jump to the user code (adding the method stub if it wasn't there already). I'm not sure we want to just add it without jumping there, since this is the user (non-designer) cs file.
Alex, this doesn't seem to work on my end. I added the event and then double clicked the event handler in the iOS Designer property page for the control and nothing happened. I have attached an image to show you where exactly I double clicked.
(I also noticed that clicking the X on the event handler does not remove the partial method declaration from the .designer.cs file, but that will be another bug report).
Created attachment 6917 [details]
ScreenShot of iOS Designer Property page for a button
This was implemented months ago!
Yes, it does work for me now. The report was created 2.25 months ago. :-)
Yup, i'm just triaging through VS issues and closing them as I find them :)