次の方法で共有


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

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

Syntax

'宣言
Public Sub CenterHorizontally ( _
    leftSibling As NodeShape, _
    leftSiblingSide As AnchoringBehavior..::..Edge, _
    rightSibling As NodeShape, _
    rightSiblingSide As AnchoringBehavior..::..Edge _
)
public void CenterHorizontally(
    NodeShape leftSibling,
    AnchoringBehavior..::..Edge leftSiblingSide,
    NodeShape rightSibling,
    AnchoringBehavior..::..Edge rightSiblingSide
)
public:
void CenterHorizontally(
    NodeShape^ leftSibling, 
    AnchoringBehavior..::..Edge leftSiblingSide, 
    NodeShape^ rightSibling, 
    AnchoringBehavior..::..Edge rightSiblingSide
)
member CenterHorizontally : 
        leftSibling:NodeShape * 
        leftSiblingSide:AnchoringBehavior..::..Edge * 
        rightSibling:NodeShape * 
        rightSiblingSide:AnchoringBehavior..::..Edge -> unit 
public function CenterHorizontally(
    leftSibling : NodeShape, 
    leftSiblingSide : AnchoringBehavior..::..Edge, 
    rightSibling : NodeShape, 
    rightSiblingSide : AnchoringBehavior..::..Edge
)

Parameters

.NET Framework Security

See Also

Reference

AnchoringBehavior Class

CenterHorizontally Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace