Share via


AnchoringBehavior.CenterVertically Method (AnchoringBehavior.Edge, ShapeField, 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 ShapeField, _
    bottomSide As AnchoringBehavior.Edge, _
    percentage As Double _
)
public void CenterVertically(
    AnchoringBehavior.Edge topSide,
    ShapeField sibling,
    AnchoringBehavior.Edge bottomSide,
    double percentage
)
public:
void CenterVertically(
    AnchoringBehavior::Edge topSide, 
    ShapeField^ sibling, 
    AnchoringBehavior::Edge bottomSide, 
    double percentage
)
member CenterVertically : 
        topSide:AnchoringBehavior.Edge * 
        sibling:ShapeField * 
        bottomSide:AnchoringBehavior.Edge * 
        percentage:float -> unit
public function CenterVertically(
    topSide : AnchoringBehavior.Edge, 
    sibling : ShapeField, 
    bottomSide : AnchoringBehavior.Edge, 
    percentage : double
)

Parameters

  • percentage
    Type: Double

.NET Framework Security

See Also

Reference

AnchoringBehavior Class

CenterVertically Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace