Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Get the default colors

$
0
0

I'm trying to show a subtle warning message when a value in an Entry is bad by flashing the background of the entry red. I have an animation working that will animate from one color to another. The problem is that I can't seem to get the actual background color of the Entry. The BackgroundColor ends up being Color.Default, which is basically RGBA(0,0,0,0). So, when I animate from that to my red color it doesn't look correct.

How can I get the actual background color of a control? Or, how can I get default style's background color that is used for various controls?


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>