ScrollingZoomAnimationStartingEventArgs 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.ZoomAnimationStarting
event.
public ref class ScrollingZoomAnimationStartingEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ScrollingZoomAnimationStartingEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ScrollingZoomAnimationStartingEventArgs
Public NotInheritable Class ScrollingZoomAnimationStartingEventArgs
- Inheritance
- Attributes
Remarks
These event args are used by the ScrollView.ZoomAnimationStarting event, which is raised when a call to ZoomTo
or ZoomBy
triggers an animation. You can handle the event to customize the animation.
Properties
Animation |
Gets or sets the animation to run during the animated zoom factor change. The animation targets the content's scale. |
CenterPoint |
Gets the center point for the zoom factor change. |
CorrelationId |
Gets the correlation ID associated with the animated zoom factor change, previously returned by |
EndZoomFactor |
Gets the content scale at the end of the animation. |
StartZoomFactor |
Gets the content scale at the start of the animation. |