UITextField.PlaceholderRect(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 property represents the rectangle that is used to draw the Placeholder text.
[Foundation.Export("placeholderRectForBounds:")]
public virtual CoreGraphics.CGRect PlaceholderRect (CoreGraphics.CGRect forBounds);
abstract member PlaceholderRect : CoreGraphics.CGRect -> CoreGraphics.CGRect
override this.PlaceholderRect : CoreGraphics.CGRect -> CoreGraphics.CGRect
Parameters
- forBounds
- CGRect
The rectangle to draw the placeholder text.
Returns
- Attributes
Remarks
Do not call this method directly. Is is provided to allow for customizations of the placeholder rectangle by subclassing UITextField.