In a Xamarin.Forms UWP project, I have a dark background color on my page. I've used the following code for a username entry:
<telerikInput:RadEntry x:Name="UsernameEntry" WidthRequest="100" BorderStyle="{StaticResource EntryBorderStyle}" TextColor="White" BackgroundColor="Transparent" FontSize="30" Focused="IsFocus"/>
When I focus on the entry to type, the typed characters are black, and when unfocused, they turn to white. I want them to always be white, as the black is hard to read against the background color.
I tried the following:
public void IsFocus(object sender, EventArgs e)
{
var obj = (Telerik.XamarinForms.Input.RadEntry)sender;
obj.TextColor = Color.White;
}
.. but this seems to have no effect either. Any suggestions on how I can keep the focused and unfocused TextColor consistent?