Szerkesztés

Megosztás a következőn keresztül:


UIScrollView.ContentInset Property

Definition

The distance, in points, that the content of the scroll view is inset inside of the scroll view.

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

Property Value

The default value is Zero

Attributes

Remarks

This is used to add scrolling area around the content of the a scroll view. Generally, the application developer also sets ScrollIndicatorInsets 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.

Applies to

See also

  • <xref:UIKit.UIScrollView.ScrollIndicatorInset>