UIButton.ImageRectForContentRect(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.
The RectangleF in which this UIButton draws its CurrentImage.
[Foundation.Export("imageRectForContentRect:")]
public virtual CoreGraphics.CGRect ImageRectForContentRect (CoreGraphics.CGRect rect);
abstract member ImageRectForContentRect : CoreGraphics.CGRect -> CoreGraphics.CGRect
override this.ImageRectForContentRect : CoreGraphics.CGRect -> CoreGraphics.CGRect
Parameters
- rect
- CGRect
Returns
- Attributes