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.
On UWP, using XF 18.104.22.168779, the Button drawn as a result of the following code does not have curved "corners". It is as if the BorderRadius is ignored. Values of 6 or greater work, values less than 6 don't.
Button btnPutFocusOnEntry = new Button
BorderColor = Color.Red,
BorderWidth = 1,
BorderRadius = 5,
Text = "Put focus on Entry"
The UWP ButtonRenderer doesn't change its properties if they are set to the default values. The default value of BorderRadius is 5, so if you set the ButtonRadius to 5, it has the same effect as not changing it.
This is obviously not ideal.
Starting with https://github.com/xamarin/Xamarin.Forms/pull/1570, the ButtonRenderer will see the default value of -1 instead of 5, so you'll be able to set your BorderRadius (or CornerRadius, if you update to the non-deprecated property) to 5 and actually see a difference.
I don't know why 60966 has been added as a "Depends on" item. It has no relevance in the situation in which I encounter 60736.
Should be fixed in 2.5.0-sr4. Thanks!