Share via


ScrollSnapPoint Class

Definition

Represents a single point that scrolled content can snap to.

/// [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 ScrollSnapPoint : ScrollSnapPointBase
[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 ScrollSnapPoint : ScrollSnapPointBase
Public Class ScrollSnapPoint
Inherits ScrollSnapPointBase
Inheritance
Object IInspectable SnapPointBase ScrollSnapPointBase ScrollSnapPoint
Attributes

Constructors

ScrollSnapPoint(Double, ScrollSnapPointsAlignment)

Initializes a new instance of the ScrollSnapPoint class with the specified value and alignment.

Properties

Alignment

Gets a value that indicates where the snap point is located in relation to the viewport.

(Inherited from ScrollSnapPointBase)
Value

Gets the location of the snap point relative to the origin of the viewport.

Applies to