IUITextInputTraits IUITextInputTraits Interface

Definition

An interface implemented by UITextField and UITextView with common input traits.

[Foundation.Protocol(Name="UITextInputTraits", WrapperType=typeof(UIKit.UITextInputTraitsWrapper))]
public interface IUITextInputTraits : IDisposable, ObjCRuntime.INativeObject
type IUITextInputTraits = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Properties

AutocapitalizationType AutocapitalizationType

The UITextAutocapitalizationType used by the IUITextInput.

AutocorrectionType AutocorrectionType

The UITextAutocorrectionType used by the IUITextInput.

EnablesReturnKeyAutomatically EnablesReturnKeyAutomatically

Whether the return key is automatically enabled.

Handle Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
KeyboardAppearance KeyboardAppearance

The UIKeyboardAppearance used by the IUITextInput

KeyboardType KeyboardType

The UIKeyboardType used by the IUITextInput.

ReturnKeyType ReturnKeyType

The form of the return key for the IUITextInput.

SecureTextEntry SecureTextEntry

Whether the entered text should be hidden.

SpellCheckingType SpellCheckingType

Gets or sets a value that tells whether spell-checking is on, off, or if spell-checking will be enabled only when auto-complete is enabled (default).

Extension Methods

GetPasswordRules(IUITextInputTraits) GetPasswordRules(IUITextInputTraits)

Returns the password entry rules.

GetSmartDashesType(IUITextInputTraits) GetSmartDashesType(IUITextInputTraits)

Gets the smart dashes style.

GetSmartInsertDeleteType(IUITextInputTraits) GetSmartInsertDeleteType(IUITextInputTraits)

Gets the smart insert style.

GetSmartQuotesType(IUITextInputTraits) GetSmartQuotesType(IUITextInputTraits)

Gets the smart quotes style.

GetTextContentType(IUITextInputTraits) GetTextContentType(IUITextInputTraits)

Gets the semantic of the expected input, which allows the system to, for example, provide custom keyboards.

SetPasswordRules(IUITextInputTraits, UITextInputPasswordRules) SetPasswordRules(IUITextInputTraits, UITextInputPasswordRules)

Sets the password entry rules.

SetSmartDashesType(IUITextInputTraits, UITextSmartDashesType) SetSmartDashesType(IUITextInputTraits, UITextSmartDashesType)

Sets the style for smart dashes.

SetSmartInsertDeleteType(IUITextInputTraits, UITextSmartInsertDeleteType) SetSmartInsertDeleteType(IUITextInputTraits, UITextSmartInsertDeleteType)

Sets the style for smart insertion.

SetSmartQuotesType(IUITextInputTraits, UITextSmartQuotesType) SetSmartQuotesType(IUITextInputTraits, UITextSmartQuotesType)

Sets the style for smart quotes.

SetTextContentType(IUITextInputTraits, NSString) SetTextContentType(IUITextInputTraits, NSString)

Sets the semantic of the expected input, which allows the system to, for example, provide custom keyboards.

Applies to