Xamarin.Forms Guides | Samples

Xamarin.Forms.IScrollViewController

Interface for a scrollview controller.

See Also: IScrollViewController

Syntax

public interface IScrollViewController : ILayoutController

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.4.0.0, 1.5.0.0, 2.0.0.0

The members of Xamarin.Forms.IScrollViewController are listed below.

Public Methods

GetScrollPositionForElement(VisualElement, ScrollToPosition) : Point
Calculates and returns a point that represents the scroll position that results in item being displayed at position in the scroll view.
SendScrollFinished()
Attempts to set the scroll task completion source state to RanToCompletion.
SetScrolledPosition(Double, Double)
Sets the scroll position to (x, y).

Public Events

ScrollToRequestedEvent that is raised when a request has been made to scroll the scroll view.