Share via


AnchoringBehavior.CenterHorizontally Method (ShapeField, AnchoringBehavior.Edge, ShapeField, AnchoringBehavior.Edge)

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 CenterHorizontally ( _
    leftSibling As ShapeField, _
    leftSiblingSide As AnchoringBehavior.Edge, _
    rightSibling As ShapeField, _
    rightSiblingSide As AnchoringBehavior.Edge _
)
public void CenterHorizontally(
    ShapeField leftSibling,
    AnchoringBehavior.Edge leftSiblingSide,
    ShapeField rightSibling,
    AnchoringBehavior.Edge rightSiblingSide
)
public:
void CenterHorizontally(
    ShapeField^ leftSibling, 
    AnchoringBehavior::Edge leftSiblingSide, 
    ShapeField^ rightSibling, 
    AnchoringBehavior::Edge rightSiblingSide
)
member CenterHorizontally : 
        leftSibling:ShapeField * 
        leftSiblingSide:AnchoringBehavior.Edge * 
        rightSibling:ShapeField * 
        rightSiblingSide:AnchoringBehavior.Edge -> unit
public function CenterHorizontally(
    leftSibling : ShapeField, 
    leftSiblingSide : AnchoringBehavior.Edge, 
    rightSibling : ShapeField, 
    rightSiblingSide : AnchoringBehavior.Edge
)

Parameters

.NET Framework Security

See Also

Reference

AnchoringBehavior Class

CenterHorizontally Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace