Düzenle

Aracılığıyla paylaş


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

The UITextAutocapitalizationType used by the IUITextInput.

AutocorrectionType

The UITextAutocorrectionType used by the IUITextInput.

EnablesReturnKeyAutomatically

Whether the return key is automatically enabled.

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
KeyboardAppearance

The UIKeyboardAppearance used by the IUITextInput

KeyboardType

The UIKeyboardType used by the IUITextInput.

ReturnKeyType

The form of the return key for the IUITextInput.

SecureTextEntry

Whether the entered text should be hidden.

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)

Returns the password entry rules.

GetSmartDashesType(IUITextInputTraits)

Gets the smart dashes style.

GetSmartInsertDeleteType(IUITextInputTraits)

Gets the smart insert style.

GetSmartQuotesType(IUITextInputTraits)

Gets the smart quotes style.

GetTextContentType(IUITextInputTraits)

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

SetPasswordRules(IUITextInputTraits, UITextInputPasswordRules)

Sets the password entry rules.

SetSmartDashesType(IUITextInputTraits, UITextSmartDashesType)

Sets the style for smart dashes.

SetSmartInsertDeleteType(IUITextInputTraits, UITextSmartInsertDeleteType)

Sets the style for smart insertion.

SetSmartQuotesType(IUITextInputTraits, UITextSmartQuotesType)

Sets the style for smart quotes.

SetTextContentType(IUITextInputTraits, NSString)

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

Applies to