Udostępnij za pośrednictwem


IScrollSnapPointsInfo Interface

Definition

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

public interface class IScrollSnapPointsInfo
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3555356169, 60663, 20904, 189, 84, 252, 132, 185, 101, 55, 102)]
struct IScrollSnapPointsInfo
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.Guid(3555356169, 60663, 20904, 189, 84, 252, 132, 185, 101, 55, 102)]
public interface IScrollSnapPointsInfo
Public Interface IScrollSnapPointsInfo
Derived
Attributes

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