IScrollSnapPointsInfo 介面

定義

描述包含和呈現專案之物件的貼齊點行為。

public interface class IScrollSnapPointsInfo
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(459084598, 58907, 19793, 190, 65, 253, 141, 220, 85, 197, 140)]
struct IScrollSnapPointsInfo
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(459084598, 58907, 19793, 190, 65, 253, 141, 220, 85, 197, 140)]
public interface IScrollSnapPointsInfo
Public Interface IScrollSnapPointsInfo
衍生
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

屬性

AreHorizontalSnapPointsRegular

取得值,這個值表示容器的水準貼齊點是否彼此相等。

AreVerticalSnapPointsRegular

取得值,這個值表示容器的垂直貼齊點是否彼此相等。

方法

GetIrregularSnapPoints(Orientation, SnapPointsAlignment)

傳回指定方向和對齊的不規則貼齊點之間的距離集合。

GetRegularSnapPoints(Orientation, SnapPointsAlignment, Single)

取得指定方向和對齊的一般貼齊點之間的距離。

事件

HorizontalSnapPointsChanged

發生于水準貼齊點的度量變更時。

VerticalSnapPointsChanged

發生于垂直貼齊點的度量變更時。

適用於