ScrollSnapPoint 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.
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
- 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. |