StackPanel.GetIrregularSnapPoints(Orientation, SnapPointsAlignment) 方法

定义

返回指定方向和对齐不规则对齐点之间的距离集。

public:
 virtual IVectorView<float> ^ GetIrregularSnapPoints(Orientation orientation, SnapPointsAlignment alignment) = GetIrregularSnapPoints;
IVectorView<float> GetIrregularSnapPoints(Orientation const& orientation, SnapPointsAlignment const& 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)

参数

orientation
Orientation

所需对齐点集的方向 (维度) 。

alignment
SnapPointsAlignment

应用吸附点时要使用的对齐方式。

返回

吸附点距离的只读集合。 如果没有对齐点,则返回空集合。

实现

适用于