Edit

Share via


UITextField.TextRect(CGRect) Method

Definition

This method return the computed rectangle for drawing the text.

[Foundation.Export("textRectForBounds:")]
public virtual CoreGraphics.CGRect TextRect (CoreGraphics.CGRect forBounds);
abstract member TextRect : CoreGraphics.CGRect -> CoreGraphics.CGRect
override this.TextRect : CoreGraphics.CGRect -> CoreGraphics.CGRect

Parameters

forBounds
CGRect

The bounding rectangle.

Returns

Attributes

Remarks

Do not call this method directly. It exists to provide customizations by subclassing UITextField.

Applies to