AnchoringBehavior.CenterVertically Method (ShapeField, 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 ( _
    topSibling As ShapeField, _
    topSiblingSide As AnchoringBehavior.Edge, _
    bottomSibling As NodeShape, _
    bottomSiblingSide As AnchoringBehavior.Edge, _
    percentage As Double _
)
public void CenterVertically(
    ShapeField topSibling,
    AnchoringBehavior.Edge topSiblingSide,
    NodeShape bottomSibling,
    AnchoringBehavior.Edge bottomSiblingSide,
    double percentage
)
public:
void CenterVertically(
    ShapeField^ topSibling, 
    AnchoringBehavior::Edge topSiblingSide, 
    NodeShape^ bottomSibling, 
    AnchoringBehavior::Edge bottomSiblingSide, 
    double percentage
)
member CenterVertically : 
        topSibling:ShapeField * 
        topSiblingSide:AnchoringBehavior.Edge * 
        bottomSibling:NodeShape * 
        bottomSiblingSide:AnchoringBehavior.Edge * 
        percentage:float -> unit
public function CenterVertically(
    topSibling : ShapeField, 
    topSiblingSide : AnchoringBehavior.Edge, 
    bottomSibling : NodeShape, 
    bottomSiblingSide : AnchoringBehavior.Edge, 
    percentage : double
)

Parameters

  • percentage
    Type: Double

.NET Framework Security

See Also

Reference

AnchoringBehavior Class

CenterVertically Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace