PositionChangedEventArgs Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |