BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
protected override void OnElementChanged(ElementChangedEventArgs<SfNumericTextBox> e)
{ base.OnElementChanged(e); if (Control != null) { GradientDrawable gd = new GradientDrawable(); gd.SetShape(ShapeType.Rectangle); gd.SetColor(Android.Graphics.Color.White); //By passing the color to stroke we can change the border color of NumericTextBox gd.SetStroke(4, Android.Graphics.Color.DarkRed); Control.SetBackgroundDrawable(gd); } } |