Compartir a través de


AnchoringBehavior.CenterVertically Method (NodeShape, AnchoringBehavior.Edge, AnchoringBehavior.Edge, Double)

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Declaración
Public Sub CenterVertically ( _
    topSibling As NodeShape, _
    topSiblingSide As AnchoringBehavior..::..Edge, _
    bottomSide As AnchoringBehavior..::..Edge, _
    percentage As Double _
)
public void CenterVertically(
    NodeShape topSibling,
    AnchoringBehavior..::..Edge topSiblingSide,
    AnchoringBehavior..::..Edge bottomSide,
    double percentage
)
public:
void CenterVertically(
    NodeShape^ topSibling, 
    AnchoringBehavior..::..Edge topSiblingSide, 
    AnchoringBehavior..::..Edge bottomSide, 
    double percentage
)
member CenterVertically : 
        topSibling:NodeShape * 
        topSiblingSide:AnchoringBehavior..::..Edge * 
        bottomSide:AnchoringBehavior..::..Edge * 
        percentage:float -> unit 
public function CenterVertically(
    topSibling : NodeShape, 
    topSiblingSide : AnchoringBehavior..::..Edge, 
    bottomSide : AnchoringBehavior..::..Edge, 
    percentage : double
)

Parameters

.NET Framework Security

See Also

Reference

AnchoringBehavior Class

CenterVertically Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace