ScrollingScrollAnimationStartingEventArgs 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 ScrollView.ScrollAnimationStarting event.
public ref class ScrollingScrollAnimationStartingEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ScrollingScrollAnimationStartingEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ScrollingScrollAnimationStartingEventArgs
Public NotInheritable Class ScrollingScrollAnimationStartingEventArgs
- Inheritance
- Attributes
Remarks
These event args are used by the ScrollView.ScrollAnimationStarting event, which is raised when a call to ScrollTo or ScrollBy triggers an animation. You can handle the event to customize the animation.
Properties
| Animation |
Gets or sets the animation to run during the animated scroll offset change. The animation targets the content's position. |
| CorrelationId |
Gets the correlation ID associated with the animated scroll offset change, previously returned by |
| EndPosition |
Gets the position of the content at the end of the animation. |
| StartPosition |
Gets the position of the content at the start of the animation. |