UITextField.ClearButtonRect(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.
Returns a rectangle for drawing the 'clear' button.
[Foundation.Export("clearButtonRectForBounds:")]
public virtual CoreGraphics.CGRect ClearButtonRect (CoreGraphics.CGRect forBounds);
abstract member ClearButtonRect : CoreGraphics.CGRect -> CoreGraphics.CGRect
override this.ClearButtonRect : CoreGraphics.CGRect -> CoreGraphics.CGRect
Parameters
- forBounds
- CGRect
The bounding rectangle.
Returns
- Attributes
Remarks
Do not call this method directly. This method is provided to allow the 'clear' button to be placed in a different location. Subclasses of UITextField that override this property should still call the base
method and modify the original returned rectangle.