AnchoringBehavior.CenterHorizontally 方法 (NodeShape, AnchoringBehavior.Edge, ShapeField, AnchoringBehavior.Edge)

命名空间:  Microsoft.VisualStudio.Modeling.Diagrams
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)

语法

声明
Public Sub CenterHorizontally ( _
    leftSibling As NodeShape, _
    leftSiblingSide As AnchoringBehavior.Edge, _
    rightSibling As ShapeField, _
    rightSiblingSide As AnchoringBehavior.Edge _
)
public void CenterHorizontally(
    NodeShape leftSibling,
    AnchoringBehavior.Edge leftSiblingSide,
    ShapeField rightSibling,
    AnchoringBehavior.Edge rightSiblingSide
)

参数

.NET Framework 安全性

请参见

参考

AnchoringBehavior 类

CenterHorizontally 重载

Microsoft.VisualStudio.Modeling.Diagrams 命名空间