Sdílet prostřednictvím


ScrollViewer.HorizontalSnapPointsAlignment Property

Definition

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

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

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

Property Value

A value of the enumeration.

Applies to

See also