Share via


IUITextInputTokenizer Interface

Definition

This interface represents the Objective-C protocol UITextInputTokenizer.

[Foundation.Protocol(Name="UITextInputTokenizer", WrapperType=typeof(UIKit.UITextInputTokenizerWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetRangeEnclosingPosition", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextPosition), typeof(UIKit.UITextGranularity), typeof(UIKit.UITextDirection) }, ReturnType=typeof(UIKit.UITextRange), Selector="rangeEnclosingPosition:withGranularity:inDirection:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="ProbeDirection", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextPosition), typeof(UIKit.UITextGranularity), typeof(UIKit.UITextDirection) }, ReturnType=typeof(System.Boolean), Selector="isPosition:atBoundary:inDirection:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetPosition", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextPosition), typeof(UIKit.UITextGranularity), typeof(UIKit.UITextDirection) }, ReturnType=typeof(UIKit.UITextPosition), Selector="positionFromPosition:toBoundary:inDirection:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="ProbeDirectionWithinTextUnit", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextPosition), typeof(UIKit.UITextGranularity), typeof(UIKit.UITextDirection) }, ReturnType=typeof(System.Boolean), Selector="isPosition:withinTextUnit:inDirection:")]
public interface IUITextInputTokenizer : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="UITextInputTokenizer", WrapperType=typeof(UIKit.UITextInputTokenizerWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetRangeEnclosingPosition", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextPosition), typeof(UIKit.UITextGranularity), typeof(UIKit.UITextDirection) }, ReturnType=typeof(UIKit.UITextRange), Selector="rangeEnclosingPosition:withGranularity:inDirection:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="ProbeDirection", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextPosition), typeof(UIKit.UITextGranularity), typeof(UIKit.UITextDirection) }, ReturnType=typeof(System.Boolean), Selector="isPosition:atBoundary:inDirection:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetPosition", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextPosition), typeof(UIKit.UITextGranularity), typeof(UIKit.UITextDirection) }, ReturnType=typeof(UIKit.UITextPosition), Selector="positionFromPosition:toBoundary:inDirection:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="ProbeDirectionWithinTextUnit", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITextPosition), typeof(UIKit.UITextGranularity), typeof(UIKit.UITextDirection) }, ReturnType=typeof(System.Boolean), Selector="isPosition:withinTextUnit:inDirection:")>]
type IUITextInputTokenizer = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.

A class may also implement members from this interface to implement members from the protocol.

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
GetPosition(UITextPosition, UITextGranularity, UITextDirection)

Returns the next toBoundary type of boundary in the inDirection direction from fromPosition.

GetRangeEnclosingPosition(UITextPosition, UITextGranularity, UITextDirection)

The range for the text enclosing a text position in a text unit of the specified granularity in the specified direction.

ProbeDirection(UITextPosition, UITextGranularity, UITextDirection)

Returns whether the probePosition position is at a atBoundary type of boundary taken from the inDirection direction.

ProbeDirectionWithinTextUnit(UITextPosition, UITextGranularity, UITextDirection)

Returns whether the probePosition position is within a withinTextUnit type of text unit taken from the inDirection direction.

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to