IUITextInput.GetCaretRectForPosition(UITextPosition) IUITextInput.GetCaretRectForPosition(UITextPosition) Method

Definition

A rectangle used for drawing a caret at a given insertion point.

[Foundation.Export("caretRectForPosition:")]
[Foundation.Preserve(Conditional=true)]
public CoreGraphics.CGRect GetCaretRectForPosition (UIKit.UITextPosition position);
abstract member GetCaretRectForPosition : UIKit.UITextPosition -> CoreGraphics.CGRect

Parameters

position
UITextPosition UITextPosition

A positioning object that indicates a specified location.

Returns

A rectangle defining an area for drawing a caret.

Applies to