Share via


ScrollingZoomOptions Class

Definition

Represents options that can be set in zoom methods of the ScrollView control.

/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ScrollingZoomOptions
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public class ScrollingZoomOptions
Public Class ScrollingZoomOptions
Inheritance
Object IInspectable ScrollingZoomOptions
Attributes

Remarks

ScrollingZoomOptions is used to set options in overloads of the ScrollView.ZoomTo and ScrollView.ZoomBy methods.

Constructors

ScrollingZoomOptions(ScrollingAnimationMode, ScrollingSnapPointsMode)

Initializes a new instance of the ScrollingZoomOptions class with the specified animation and snap points modes.

ScrollingZoomOptions(ScrollingAnimationMode)

Initializes a new instance of the ScrollingZoomOptions class with the specified animation mode.

Properties

AnimationMode

Gets or sets a value that indicates whether or not an animation is played for the zoom factor change.

SnapPointsMode

Gets or sets a value that indicates whether snap points are ignored or respected during the zoom factor change.

Applies to

See also