Udostępnij za pośrednictwem


ScrollViewer.VerticalSnapPointsAlignment Property

Definition

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

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

A value of the enumeration.

Applies to