UITextField.GetCharacterRange(UITextPosition, UITextLayoutDirection) Method

Definition

Returns a range that represents the distance from byExtendingPosition to as far as is possible in direction.

[Foundation.Export("characterRangeByExtendingPosition:inDirection:")]
public virtual UIKit.UITextRange GetCharacterRange (UIKit.UITextPosition byExtendingPosition, UIKit.UITextLayoutDirection direction);
abstract member GetCharacterRange : UIKit.UITextPosition * UIKit.UITextLayoutDirection -> UIKit.UITextRange
override this.GetCharacterRange : UIKit.UITextPosition * UIKit.UITextLayoutDirection -> UIKit.UITextRange

Parameters

byExtendingPosition
UITextPosition

A location in some text.

direction
UITextLayoutDirection

The direction of the layout.

Returns

Implements

Attributes

Applies to