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

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

Syntax

'Declaration
Public Sub CenterVertically ( _
    topSide As AnchoringBehavior.Edge, _
    sibling As NodeShape, _
    bottomSide As AnchoringBehavior.Edge, _
    percentage As Double _
)
public void CenterVertically(
    AnchoringBehavior.Edge topSide,
    NodeShape sibling,
    AnchoringBehavior.Edge bottomSide,
    double percentage
)
public:
void CenterVertically(
    AnchoringBehavior::Edge topSide, 
    NodeShape^ sibling, 
    AnchoringBehavior::Edge bottomSide, 
    double percentage
)
member CenterVertically : 
        topSide:AnchoringBehavior.Edge * 
        sibling:NodeShape * 
        bottomSide:AnchoringBehavior.Edge * 
        percentage:float -> unit
public function CenterVertically(
    topSide : AnchoringBehavior.Edge, 
    sibling : NodeShape, 
    bottomSide : AnchoringBehavior.Edge, 
    percentage : double
)

Parameters

  • percentage
    Type: Double

.NET Framework Security

See Also

Reference

AnchoringBehavior Class

CenterVertically Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace