Share via


AnchoringBehavior.CenterVertically Method (ShapeField, AnchoringBehavior.Edge, 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 ShapeField, _
    topSiblingSide As AnchoringBehavior.Edge, _
    bottomSide As AnchoringBehavior.Edge _
)
public void CenterVertically(
    ShapeField topSibling,
    AnchoringBehavior.Edge topSiblingSide,
    AnchoringBehavior.Edge bottomSide
)
public:
void CenterVertically(
    ShapeField^ topSibling, 
    AnchoringBehavior::Edge topSiblingSide, 
    AnchoringBehavior::Edge bottomSide
)
member CenterVertically : 
        topSibling:ShapeField * 
        topSiblingSide:AnchoringBehavior.Edge * 
        bottomSide:AnchoringBehavior.Edge -> unit
public function CenterVertically(
    topSibling : ShapeField, 
    topSiblingSide : AnchoringBehavior.Edge, 
    bottomSide : AnchoringBehavior.Edge
)

Parameters

.NET Framework Security

See Also

Reference

AnchoringBehavior Class

CenterVertically Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace