Upravit

Sdílet prostřednictvím


UITextField.PlaceholderRect(CGRect) Method

Definition

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.

Applies to