Share via


PositionChangedEventArgs Class

Definition

Provides data for the PositionChanged event in carousel and collection views.

public ref class PositionChangedEventArgs : EventArgs
public class PositionChangedEventArgs : EventArgs
type PositionChangedEventArgs = class
    inherit EventArgs
Public Class PositionChangedEventArgs
Inherits EventArgs
Inheritance
PositionChangedEventArgs

Remarks

This event args class is used when the current position changes in a CarouselView or IndicatorView. It provides both the previous and current positions as zero-based indices.

Properties

Name Description
CurrentPosition

Gets the position index that is now current after the change.

PreviousPosition

Gets the position index that was current before the change.

Applies to