AnchoringBehavior.SetTopAnchor 方法

包括受保护的成员
包括继承的成员

重载此成员。有关此成员的完整信息(包括语法、用法和示例),请单击重载列表中的相应名称。

重载列表 

  名称 说明
公共方法 SetTopAnchor(Double) 锚定 ShapeField 的顶边到水平线,相对于父 ShapeElement 的顶边的距离[百分比与父 ShapeElement 的高度相乘]。
公共方法 SetTopAnchor(AnchoringBehavior.Edge, Double) 锚定 ShapeField 的顶边到父 ShapeElement 的特定边。
公共方法 SetTopAnchor(NodeShape, Double) 锚定 ShapeField 的顶边到水平线,相对与同级 NodeShape 的顶边的距离[百分比与同级 NodeShape 的高度相乘]。
公共方法 SetTopAnchor(ShapeField, Double) 锚定 ShapeField 的顶边到水平线,相对与同级 ShapeField 的顶边的距离[百分比与同级 ShapeField 的高度相乘]。
公共方法 SetTopAnchor(NodeShape, AnchoringBehavior.Edge, Double) 锚定 ShapeField 的顶边到同级 NodeShape 特定边。
公共方法 SetTopAnchor(ShapeField, AnchoringBehavior.Edge, Double) 锚定 ShapeField 的顶边到同级 ShapeField 特定边。

页首

请参阅

参考

AnchoringBehavior 类

Microsoft.VisualStudio.Modeling.Diagrams 命名空间