AnchoringBehavior.CenterHorizontally 方法 (ShapeField, AnchoringBehavior.Edge, 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 ShapeField, _
    leftSiblingSide As AnchoringBehavior.Edge, _
    rightSide As AnchoringBehavior.Edge _
)
public void CenterHorizontally(
    ShapeField leftSibling,
    AnchoringBehavior.Edge leftSiblingSide,
    AnchoringBehavior.Edge rightSide
)

参数

.NET Framework 安全性

请参见

参考

AnchoringBehavior 类

CenterHorizontally 重载

Microsoft.VisualStudio.Modeling.Diagrams 命名空间