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

Change Editor textcolor?

$
0
0

Is there a way to change the color of the text in an editor in Xamarin.Forms?
Example of an editor I made:

Editor myEditor = new Editor
            {
                HorizontalOptions = LayoutOptions.Fill,
                VerticalOptions = LayoutOptions.Fill,
                Keyboard = Keyboard.Numeric,
                BackgroundColor = Color.FromRgb(255, 250, 240)
            };

Because Android has a default textcolor of white and iOS black I would like to change the TextColor to a default value of my choice that will always fit the given backgroundcolor of the Editor.


Viewing all articles
Browse latest Browse all 91519

Trending Articles



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