UITextField.DrawPlaceholder(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 placeholder text in the provided rectangle.
[Foundation.Export("drawPlaceholderInRect:")]
public virtual void DrawPlaceholder (CoreGraphics.CGRect rect);
abstract member DrawPlaceholder : CoreGraphics.CGRect -> unit
override this.DrawPlaceholder : CoreGraphics.CGRect -> unit
Parameters
- rect
- CGRect
The rectangle that will hold the placeholder text.
- Attributes
Remarks
Do not call this method directly. It is provided to custom the location of the placeholder 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.