AnchoringBehavior.SetLeftAnchor 方法

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

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

重载列表 

  名称 说明
公共方法 SetLeftAnchor(Double) 锚定 ShapeField 的左侧到垂直线,相对于父 ShapeElement 的左侧的距离[百分比与父 ShapeElement 的宽度相乘]。
公共方法 SetLeftAnchor(AnchoringBehavior.Edge, Double) 锚定 ShapeField 的左边到父形状的特定边。
公共方法 SetLeftAnchor(NodeShape, Double) 锚定 ShapeField 的左侧到同级 NodeShape 的指定距离。
公共方法 SetLeftAnchor(ShapeField, Double) 锚定 ShapeField 的左侧到垂直线,相对于同级 ShapeField 的左侧的距离[百分比与同级 ShapeField 的宽度相乘]。
公共方法 SetLeftAnchor(NodeShape, AnchoringBehavior.Edge, Double) 锚定 ShapeField 的左边到同级 ShapeElement 特定边。
公共方法 SetLeftAnchor(ShapeField, AnchoringBehavior.Edge, Double) 锚定 ShapeField 的左边到同级 ShapeField 特定边。

页首

请参阅

参考

AnchoringBehavior 类

Microsoft.VisualStudio.Modeling.Diagrams 命名空间