다음을 통해 공유


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

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

Syntax

'Declaration
Public Sub CenterVertically ( _
    topSibling As NodeShape, _
    topSiblingSide As AnchoringBehavior.Edge, _
    bottomSibling As ShapeField, _
    bottomSiblingSide As AnchoringBehavior.Edge _
)
public void CenterVertically(
    NodeShape topSibling,
    AnchoringBehavior.Edge topSiblingSide,
    ShapeField bottomSibling,
    AnchoringBehavior.Edge bottomSiblingSide
)
public:
void CenterVertically(
    NodeShape^ topSibling, 
    AnchoringBehavior::Edge topSiblingSide, 
    ShapeField^ bottomSibling, 
    AnchoringBehavior::Edge bottomSiblingSide
)
member CenterVertically : 
        topSibling:NodeShape * 
        topSiblingSide:AnchoringBehavior.Edge * 
        bottomSibling:ShapeField * 
        bottomSiblingSide:AnchoringBehavior.Edge -> unit
public function CenterVertically(
    topSibling : NodeShape, 
    topSiblingSide : AnchoringBehavior.Edge, 
    bottomSibling : ShapeField, 
    bottomSiblingSide : AnchoringBehavior.Edge
)

Parameters

.NET Framework Security

See Also

Reference

AnchoringBehavior Class

CenterVertically Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace