ScrollViewer.HorizontalSnapPointsAlignment 属性

定义

获取或设置一个值,该值指示现有对齐点与初始视区的水平对齐方式。

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" />

属性值

枚举的一个值。

适用于

另请参阅