public EntryAttribute (string placeholder, UIKeyboardType keyboardType,
		                 UITextAutocapitalizationType autocapitalizationType, UITextAutocorrectionType autocorrectionType)
		{
			Placeholder = placeholder;
			KeyboardType = keyboardType;
			CapitalizationType = autocapitalizationType;
			CorrectionType = autocorrectionType;
		}
Beispiel #2
0
        protected override void OnAttached()
        {
            var editText = Control as UITextField;

            if (editText == null)
            {
                return;
            }

            spellCheckingType      = editText.SpellCheckingType;
            autocorrectionType     = editText.AutocorrectionType;
            autocapitalizationType = editText.AutocapitalizationType;

            editText.SpellCheckingType      = UITextSpellCheckingType.No;        // No Spellchecking
            editText.AutocorrectionType     = UITextAutocorrectionType.No;       // No Autocorrection
            editText.AutocapitalizationType = UITextAutocapitalizationType.None;
        }