Share via


ScrollingScrollOptions Class

Definition

Represents options that can be set in scroll 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 ScrollingScrollOptions
[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 ScrollingScrollOptions
Public Class ScrollingScrollOptions
Inheritance
Object IInspectable ScrollingScrollOptions
Attributes

Remarks

ScrollingScrollOptions is used to set options in overloads of the ScrollView.ScrollTo and ScrollView.ScrollBy methods.

Constructors

ScrollingScrollOptions(ScrollingAnimationMode, ScrollingSnapPointsMode)

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

ScrollingScrollOptions(ScrollingAnimationMode)

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

Properties

AnimationMode

Gets or sets a value that indicates whether or not an animation is played for a scroll operation.

SnapPointsMode

Gets or sets a value that indicates whether snap points are ignored or respected during the scroll operation.

Applies to

See also