StackPanel.GetIrregularSnapPoints(Orientation, SnapPointsAlignment) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回指定方向和对齐的不规则对齐点之间的距离集。
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
应用吸附点时使用的对齐方式。
返回
吸附点距离的只读集合。 当不存在吸附点时,返回一个空集合。