Share via


CarouselView.IsScrollAnimated Property

Definition

Gets or sets a value indicating whether scrolling between items is animated.

public:
 property bool IsScrollAnimated { bool get(); void set(bool value); };
public bool IsScrollAnimated { get; set; }
member this.IsScrollAnimated : bool with get, set
Public Property IsScrollAnimated As Boolean

Property Value

true to animate scrolling; otherwise, false. The default is true.

Remarks

When true, programmatic changes to Position or CurrentItem will animate the transition. When false, the carousel jumps instantly to the new position.

Applies to