UITextField.TextRect(CGRect) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.