編輯

共用方式為


ScrollingObjectCollection.MoveByPages(Int32, Boolean, Action) Method

Definition

Moves scroller container by a multiplier of the number of tiers in the viewable area.

public void MoveByPages (int numberOfPages, bool animate = true, Action callback = default);
member this.MoveByPages : int * bool * Action -> unit
Public Sub MoveByPages (numberOfPages As Integer, Optional animate As Boolean = true, Optional callback As Action = Nothing)

Parameters

numberOfPages
Int32

Amount of pages to move by

animate
Boolean

If true, scroller will animate to new position

callback
Action

An optional action to pass in to get notified that the ScrollingObjectCollection is finished moving

Applies to