UIKit.UIScrollView.ContentInset Property
The distance, in points, that the content of the scroll view is inset inside of the scroll view.

Syntax

[get: Foundation.Export("contentInset")]
[set: Foundation.Export("setContentInset:")]
public virtual UIEdgeInsets ContentInset { get; set; }

See Also

UIScrollView.ScrollIndicatorInset

Value

The default value is UIEdgeInsets.Zero

Remarks

This is used to add scrolling area around the content of the a scroll view. Generally, the application developer also sets UIScrollView.ScrollIndicatorInset to the same value, so that the scroll indicators appear near the to-be-scrolled content and do not overlap elements placed in the inset area.

Requirements

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