UIKit.UIScrollView.ContentSize Property
The size of the content view, as measured in points.


[get: Foundation.Export("contentSize")]
[set: Foundation.Export("setContentSize:")]
public virtual CoreGraphics.CGSize ContentSize { get; set; }



The UIScrollView.ContentSize property specifies the total scrollable area, visible or not, of the UIKit.UIScrollView. The application developer must set the UIScrollView.ContentSize property to a value greater than the UIKit.UIScrollView's UIView.Frame to get the expected scrolling behavior. The UIScrollView.ContentSize is generally the union of the UIView.Frames of the UIKit.UIScrollView's subviews, but this is not necessarily the case (sometimes, drawing geometry can be made easier or more consistent by having UIView.Frames that are partially unreachable by scrolling).


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