StackPanelGetIrregularSnapPoints Method
Returns the set of distances between irregular snap points for a specified orientation and alignment.
Namespace: Avalonia.ControlsAssembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public IReadOnlyList<double> GetIrregularSnapPoints(
Orientation orientation,
SnapPointsAlignment snapPointsAlignment
)
Public Function GetIrregularSnapPoints (
orientation As Orientation,
snapPointsAlignment As SnapPointsAlignment
) As IReadOnlyList(Of Double)
abstract GetIrregularSnapPoints :
orientation : Orientation *
snapPointsAlignment : SnapPointsAlignment -> IReadOnlyList<float>
override GetIrregularSnapPoints :
orientation : Orientation *
snapPointsAlignment : SnapPointsAlignment -> IReadOnlyList<float>
- orientation Orientation
- The orientation for the desired snap point set.
- snapPointsAlignment SnapPointsAlignment
- The alignment to use when applying the snap points.
IReadOnlyListDoubleThe read-only collection of snap point distances. Returns an empty collection when no snap points are present.
IScrollSnapPointsInfoGetIrregularSnapPoints(Orientation, SnapPointsAlignment)