OrientedVirtualizingPanel.GetIrregularSnapPoints(Orientation, SnapPointsAlignment) Method
Definition
Returns the set of distances between irregular snap points for a specified orientation and alignment.
Equivalent WinUI method: Microsoft.UI.Xaml.Controls.Primitives.OrientedVirtualizingPanel.GetIrregularSnapPoints.
public:
virtual IVectorView<float> ^ GetIrregularSnapPoints(Orientation orientation, SnapPointsAlignment alignment) = GetIrregularSnapPoints;
IVectorView<float> GetIrregularSnapPoints(Orientation orientation, SnapPointsAlignment alignment);
public IReadOnlyList<float> GetIrregularSnapPoints(Orientation orientation, SnapPointsAlignment alignment);
function getIrregularSnapPoints(orientation, alignment)
Public Function GetIrregularSnapPoints (orientation As Orientation, alignment As SnapPointsAlignment) As IReadOnlyList(Of Single)
Parameters
- orientation
- Orientation
The orientation for the desired snap point set.
- alignment
- SnapPointsAlignment
The alignment to use when applying the snap points.
Returns
The read-only collection of snap point distances. Returns an empty collection when no snap points are present.