IScrollSnapPointsInfo Interface
Describes snap point behavior for objects that contain and present items.
Definition
Namespace: Avalonia.Controls.Primitives
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public interface IScrollSnapPointsInfo
Public Interface IScrollSnapPointsInfo
type IScrollSnapPointsInfo = interface end
Properties
| AreHorizontalSnapPointsRegular | Gets or sets a value that indicates whether the horizontal snap points for the container are equidistant from each other. |
| AreVerticalSnapPointsRegular | Gets or sets 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, Double) | 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. |