UIKit.UIView.SizeThatFits Method
Returns the System.Drawing.SizeF that best fits this UIKit.UIView.

Syntax

[Foundation.Export("sizeThatFits:")]
public virtual CoreGraphics.CGSize SizeThatFits (CoreGraphics.CGSize size)

See Also

MonoToch.UIKit.UIView.SizeToFit

Parameters

size
The current System.Drawing.SizeF of the UIKit.UIView

Returns

The default value is the UIKit.UIView's UIView.Bounds' System.Drawing.RectangleF.Size.

Remarks

Requirements

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