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

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

返回

吸附点距离的只读集合。 当不存在吸附点时,返回一个空集合。

实现

适用于