protected override UITextField CreateTextField(CGRect frame) { var textField = base.CreateTextField(frame.SetX(Padding).SetWidth(UIScreen.MainScreen.Bounds.Width - 2 * Margin - 2 * Padding)); textField.TintColor = UIColor.Black; // cursor color textField.TextColor = UIColor.FromRGB(44, 44, 44); textField.Font = UIFont.FromName(FontName.HelveticaNeueLight, 38 / 2); textField.VerticalAlignment = UIControlContentVerticalAlignment.Center; this.AutocorrectionType = UITextAutocorrectionType.No; textField.AdjustsFontSizeToFitWidth = true; textField.AccessibilityLabel = Placeholder; textField.Enabled = _isInputEnabled; if (_isPassword) { this.AutocapitalizationType = UITextAutocapitalizationType.None; } else { this.AutocapitalizationType = _autocapitalizationType; } return(textField); }