IUITextDocumentProxy IUITextDocumentProxy Interface

Definition

Interface representing the required methods (if any) of the protocol UITextDocumentProxy.

[Foundation.Protocol(Name="UITextDocumentProxy", WrapperType=typeof(UIKit.UITextDocumentProxyWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IUITextDocumentProxy : IDisposable, UIKit.IUIKeyInput
type IUITextDocumentProxy = interface
    interface INativeObject
    interface IDisposable
    interface IUIKeyInput
    interface IUITextInputTraits
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by UITextDocumentProxy.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the UITextDocumentProxy protocol.

Optional methods (if any) are provided by the UITextDocumentProxy_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Properties

AutocapitalizationType AutocapitalizationType

The UITextAutocapitalizationType used by the IUITextInput.

(Inherited from IUITextInputTraits)
AutocorrectionType AutocorrectionType

The UITextAutocorrectionType used by the IUITextInput.

(Inherited from IUITextInputTraits)
DocumentContextAfterInput DocumentContextAfterInput

Gets the textual context after the insertion point for this IUITextDocumentProxy object.

DocumentContextBeforeInput DocumentContextBeforeInput

Gets the textual context before the insertion point for this IUITextDocumentProxy object.

EnablesReturnKeyAutomatically EnablesReturnKeyAutomatically

Whether the return key is automatically enabled.

(Inherited from IUITextInputTraits)
Handle Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
HasText HasText

Gets a value that tells whether the key input has text in it.

(Inherited from IUIKeyInput)
KeyboardAppearance KeyboardAppearance

The UIKeyboardAppearance used by the IUITextInput

(Inherited from IUITextInputTraits)
KeyboardType KeyboardType

The UIKeyboardType used by the IUITextInput.

(Inherited from IUITextInputTraits)
ReturnKeyType ReturnKeyType

The form of the return key for the IUITextInput.

(Inherited from IUITextInputTraits)
SecureTextEntry SecureTextEntry

Whether the entered text should be hidden.

(Inherited from IUITextInputTraits)
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).

(Inherited from IUITextInputTraits)

Methods

AdjustTextPositionByCharacterOffset(nint) AdjustTextPositionByCharacterOffset(nint)

Moves the cursor by offset. Positive values are toward the end of the document; Negative are toward the start.

DeleteBackward() DeleteBackward() Inherited from IUIKeyInput
InsertText(String) InsertText(String)

Inserts text at the cursor.

(Inherited from IUIKeyInput)

Extension Methods

GetDocumentIdentifier(IUITextDocumentProxy) GetDocumentIdentifier(IUITextDocumentProxy)

Returns the unique ID for the document.

GetDocumentInputMode(IUITextDocumentProxy) GetDocumentInputMode(IUITextDocumentProxy)

Returns the keyboard input mode.

GetSelectedText(IUITextDocumentProxy) GetSelectedText(IUITextDocumentProxy)

Returns the selected text.

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