AnchoringBehavior.CenterHorizontally Method (ShapeField, AnchoringBehavior.Edge, NodeShape, 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 NodeShape, _
rightSiblingSide As AnchoringBehavior.Edge _
)
public void CenterHorizontally(
ShapeField leftSibling,
AnchoringBehavior.Edge leftSiblingSide,
NodeShape rightSibling,
AnchoringBehavior.Edge rightSiblingSide
)
public:
void CenterHorizontally(
ShapeField^ leftSibling,
AnchoringBehavior::Edge leftSiblingSide,
NodeShape^ rightSibling,
AnchoringBehavior::Edge rightSiblingSide
)
member CenterHorizontally :
leftSibling:ShapeField *
leftSiblingSide:AnchoringBehavior.Edge *
rightSibling:NodeShape *
rightSiblingSide:AnchoringBehavior.Edge -> unit
public function CenterHorizontally(
leftSibling : ShapeField,
leftSiblingSide : AnchoringBehavior.Edge,
rightSibling : NodeShape,
rightSiblingSide : AnchoringBehavior.Edge
)
Parameters
- leftSibling
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeField
- leftSiblingSide
Type: Microsoft.VisualStudio.Modeling.Diagrams.AnchoringBehavior.Edge
- rightSibling
Type: Microsoft.VisualStudio.Modeling.Diagrams.NodeShape
- rightSiblingSide
Type: Microsoft.VisualStudio.Modeling.Diagrams.AnchoringBehavior.Edge
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.