protected override UITextField CreateNativeControl() { var control = new UITextFieldPadding(RectangleF.Empty) { Padding = ElementV2.Padding, BorderStyle = UITextBorderStyle.RoundedRect, ClipsToBounds = true }; UpdateBackground(control); return(control); }
protected override UITextField CreateNativeControl() { var control = new UITextFieldPadding(RectangleF.Empty); if (ElementV2.IsEnterUnderline) { control.BorderStyle = UITextBorderStyle.None; } else { control.BorderStyle = UITextBorderStyle.RoundedRect; control.ClipsToBounds = true; UpdateBackground(control); } ControlV2 = control; LoadControlImage(); return(ControlV2); }