Dela via


IScrollSnapPointsInfo Interface

Definition

Describes snap point behavior for objects that contain and present items.

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
Derived
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

AreHorizontalSnapPointsRegular

Gets a value that indicates whether the horizontal snap points for the container are equidistant from each other.

AreVerticalSnapPointsRegular

Gets a value that indicates whether the vertical snap points for the container are equidistant from each other.

Methods

GetIrregularSnapPoints(Orientation, SnapPointsAlignment)

Returns the set of distances between irregular snap points for a specified orientation and alignment.

GetRegularSnapPoints(Orientation, SnapPointsAlignment, Single)

Gets the distance between regular snap points for a specified orientation and alignment.

Events

HorizontalSnapPointsChanged

Occurs when the measurements for horizontal snap points change.

VerticalSnapPointsChanged

Occurs when the measurements for vertical snap points change.

Applies to