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 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.
I've just noticed a bug in the TabControl.
I've an empty control created in design time to which I'm adding pages programmatically.
Once I add the first page using this:
I get an exception: "Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index."
This message is got by my try-catch structure. I've no image list associated, no SelectedItem and this is the very first tab added.
in the form, I'm being asked for the version, but I don't know if you refer to the version of Mono, libmono, XamarinForms, etc. As a reference I'm using Linux Mint 32bit 14.04 trusty (Ubuntu 14.04.5 LTS) and I've just performed "apt-get update" + "apt-get upgrade".
Let me know if you would need any additional information.
Could you please upload a reproduction project? The version refers to the version of Forms being used.
Created attachment 19130 [details]
Here is a demo project where the error appears. It has been generated from a trimmed version of a much bigger project.
Any new on this?
Was anybody able to reproduce the error with the attached demo project?
This is a WinForms issue, not Xamarin.Forms.