ScrollViewer.VerticalSnapPointsAlignment Property

Definition

Gets or sets a value that indicates how the existing snap points are vertically aligned versus the initial viewport.

Equivalent WinUI property: Microsoft.UI.Xaml.Controls.ScrollViewer.VerticalSnapPointsAlignment.

public:
 property SnapPointsAlignment VerticalSnapPointsAlignment { SnapPointsAlignment get(); void set(SnapPointsAlignment value); };
SnapPointsAlignment VerticalSnapPointsAlignment();

void VerticalSnapPointsAlignment(SnapPointsAlignment value);
public SnapPointsAlignment VerticalSnapPointsAlignment { get; set; }
var snapPointsAlignment = scrollViewer.verticalSnapPointsAlignment;
scrollViewer.verticalSnapPointsAlignment = snapPointsAlignment;
Public Property VerticalSnapPointsAlignment As SnapPointsAlignment
<ScrollViewer VerticalSnapPointsAlignment="snapPointsAlignmentMemberName" />

Property Value

SnapPointsAlignment

A value of the enumeration.

Applies to