AnchoringBehavior.CenterVertically 方法 (NodeShape, AnchoringBehavior.Edge, NodeShape, AnchoringBehavior.Edge, Double)

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

语法

声明
Public Sub CenterVertically ( _
    topSibling As NodeShape, _
    topSiblingSide As AnchoringBehavior.Edge, _
    bottomSibling As NodeShape, _
    bottomSiblingSide As AnchoringBehavior.Edge, _
    percentage As Double _
)
public void CenterVertically(
    NodeShape topSibling,
    AnchoringBehavior.Edge topSiblingSide,
    NodeShape bottomSibling,
    AnchoringBehavior.Edge bottomSiblingSide,
    double percentage
)

参数

.NET Framework 安全性

请参见

参考

AnchoringBehavior 类

CenterVertically 重载

Microsoft.VisualStudio.Modeling.Diagrams 命名空间