UIKit.UIView.ConvertRectToView Method
Returns the System.Drawing.RectangleF, in the toView's coordinate system, of the rect in this UIKit.UIView's local coordinate system.

Syntax

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

See Also

UIKit.ConvertPointFromView
UIKit.ConvertPointToView
UIKit.ConvertRectFromView

Parameters

rect
The System.Drawing.RectangleF expressed in this UIKit.UIView local coordinate system.
toView

The UIKit.UIView to whose local coordinate system the rect should be translated.

This parameter can be null.

Returns

The rectangle, translated between coordinated systems.

Remarks

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

Requirements

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