Xamarin.Forms Guides | Samples


Interface for a scrollview controller.

See Also: IScrollViewController


public interface IScrollViewController : ILayoutController


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

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.
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.