private void SetControl() { if (Control == null) { return; } var heightConstraint = NSLayoutConstraint.Create(Control, NSLayoutAttribute.Height, NSLayoutRelation.Equal, 1, 20f); Control.AddConstraint(heightConstraint); Control.BackgroundColor = UIColor.Clear; Control.TintColor = (Element as MaterialEntry)?.TintColor.ToUIColor(); Control.BorderStyle = UITextBorderStyle.None; Control.TranslatesAutoresizingMaskIntoConstraints = false; AddRemoveReturnKeyToNumericInput((Element as MaterialEntry).IsNumericKeyboard); }