UIKit.UIView.ConvertRectFromView Method
Returns the System.Drawing.RectangleF, in the receiver's coordinate system, of the rect in the fromView's coordinate space.

Syntax

[Foundation.Export("convertRect:fromView:")]
public virtual CoreGraphics.CGRect ConvertRectFromView (UIView fromView, CoreGraphics.CGRect rect)

See Also

UIKit.ConvertPointFromView
UIKit.ConvertPointToView
UIKit.ConvertRectToView

Parameters

rect
The System.Drawing.RectangleF expressed in the fromView's local coordinate system.
fromView

The UIKit.UIView in whose coordinate system the rect is expressed.

This parameter can be null.

Returns

The rectangle, translated between coordinate systems.

Remarks

The UIView.Bounds property specifies a local coordinate system. This method returns the location, in this UIKit.UIView's UIView.Bounds coordinate system of the rect in fromView's UIView.Bounds' coordinate system.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0