iOS Guides | Samples

MonoTouch.UIKit.IUITextDocumentProxy

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

See Also: IUITextDocumentProxy

Syntax

[MonoTouch.Foundation.Protocol(Name="UITextDocumentProxy", WrapperType=typeof(MonoTouch.UIKit.UITextDocumentProxyWrapper))]
[MonoTouch.Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="AdjustTextPositionByCharacterOffset", ParameterByRef=Mono.Cecil.CustomAttributeArgument[], ParameterType=Mono.Cecil.CustomAttributeArgument[], Selector="adjustTextPositionByCharacterOffset:")]
[MonoTouch.Foundation.ProtocolMember(ArgumentSemantic=MonoTouch.ObjCRuntime.ArgumentSemantic.None, GetterSelector="documentContextBeforeInput", IsProperty=true, IsRequired=true, IsStatic=false, Name="DocumentContextBeforeInput", PropertyType=typeof(System.String), Selector="documentContextBeforeInput")]
[MonoTouch.Foundation.ProtocolMember(ArgumentSemantic=MonoTouch.ObjCRuntime.ArgumentSemantic.None, GetterSelector="documentContextAfterInput", IsProperty=true, IsRequired=true, IsStatic=false, Name="DocumentContextAfterInput", PropertyType=typeof(System.String), Selector="documentContextAfterInput")]
[MonoTouch.Foundation.ProtocolMember(ArgumentSemantic=MonoTouch.ObjCRuntime.ArgumentSemantic.None, GetterSelector="documentInputMode", IsProperty=true, IsRequired=false, IsStatic=false, Name="DocumentInputMode", PropertyType=typeof(MonoTouch.UIKit.UITextInputMode), Selector="documentInputMode")]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 8, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
[MonoTouch.ObjCRuntime.Unavailable(MonoTouch.ObjCRuntime.PlatformName.WatchOS, MonoTouch.ObjCRuntime.PlatformArchitecture.All, null)]
public interface IUITextDocumentProxy : IUIKeyInput, IDisposable

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.

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.UIKit.IUITextDocumentProxy are listed below.

Public Properties

[read-only]
DocumentContextAfterInputString. Gets the textual context after the insertion point for this IUITextDocumentProxy object.
[read-only]
DocumentContextBeforeInputString. Gets the textual context before the insertion point for this IUITextDocumentProxy object.

Public Methods

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