protected override void OnElementChanged(ElementChangedEventArgs <Entry> e) { base.OnElementChanged(e); if (this.Control != null) { this.SetControl(); if (e.NewElement != null) { XF.Material.Outline.Core.InternalTextView textView = e.NewElement as XF.Material.Outline.Core.InternalTextView; this.ChangeCursorColor(textView.TintColor.ToAndroid()); } } }
protected override void OnElementChanged(ElementChangedEventArgs <Entry> e) { base.OnElementChanged(e); if (this.Control != null) { // do whatever you want to the UITextField here! this.Control.BackgroundColor = UIColor.Clear; this.Control.BorderStyle = UITextBorderStyle.None; if (e.NewElement != null) { XF.Material.Outline.Core.InternalTextView materialOutlineTextView = e.NewElement as XF.Material.Outline.Core.InternalTextView; this.Control.TintColor = materialOutlineTextView.TintColor.ToUIColor(); } } }