UITextField.DrawText(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.
Will draw the text in the provided rectangle.
[Foundation.Export("drawTextInRect:")]
public virtual void DrawText (CoreGraphics.CGRect rect);
abstract member DrawText : CoreGraphics.CGRect -> unit
override this.DrawText : CoreGraphics.CGRect -> unit
Parameters
- rect
- CGRect
The rectangle that will hold the text.
- Attributes
Remarks
Do not call this method directly. It is provided to custom the location of the text. Subclasses of UITextField that override this property should still call the base
method and modify the original returned rectangle. If the subclass renders the text itself, then the base
method should not be called.