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.
Created attachment 25437 [details]
Style defined in the setter not working if any of the style related property (like background color, text color etc.,) is set explicitly
If we defined any property like BackgroundColor in Style (Xamarin.Forms.Style), it is not reflected in view if the same BackgroundColor property is set explicitly. For example, if we set BackgroundColor of "Label" as "Blue" explicitly and set BackgroundColor of "Label" as "Red" in Style (Xamarin.Forms.Style), then the color set explicitly only applied to the label (Blue color applied instead of Red color)
We have attached the issue reproducible sample for your reference in the attachment. In the sample, we have applied blue color explicitly and applied red color through style setter to the label. If you see the output, blue color will be applied to the label's background color instead of red color.
This is expected behavior.