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

Xamarin Forms Date / Time picker set Text Color

$
0
0

Hi,

is that possible to set text color in Date / Time picker.

i had tried with custom render too. still the color is not changing.

``
EditText nativePicker;
protected override void OnElementChanged(ElementChangedEventArgs<Xamarin.Forms.TimePicker> e)
{
base.OnElementChanged(e);
nativePicker = this.Control;
nativePicker.Text = "Select start time";
nativePicker.SetLinkTextColor ( Android.Graphics.Color.Red );

    }

``


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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