AnchoringBehavior.CenterHorizontally Method (NodeShape, AnchoringBehavior.Edge, AnchoringBehavior.Edge, Double)
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaración
Public Sub CenterHorizontally ( _
leftSibling As NodeShape, _
leftSiblingSide As AnchoringBehavior..::..Edge, _
rightSide As AnchoringBehavior..::..Edge, _
percentage As Double _
)
public void CenterHorizontally(
NodeShape leftSibling,
AnchoringBehavior..::..Edge leftSiblingSide,
AnchoringBehavior..::..Edge rightSide,
double percentage
)
public:
void CenterHorizontally(
NodeShape^ leftSibling,
AnchoringBehavior..::..Edge leftSiblingSide,
AnchoringBehavior..::..Edge rightSide,
double percentage
)
member CenterHorizontally :
leftSibling:NodeShape *
leftSiblingSide:AnchoringBehavior..::..Edge *
rightSide:AnchoringBehavior..::..Edge *
percentage:float -> unit
public function CenterHorizontally(
leftSibling : NodeShape,
leftSiblingSide : AnchoringBehavior..::..Edge,
rightSide : AnchoringBehavior..::..Edge,
percentage : double
)
Parameters
- leftSibling
Type: Microsoft.VisualStudio.Modeling.Diagrams.NodeShape
- leftSiblingSide
Type: Microsoft.VisualStudio.Modeling.Diagrams.AnchoringBehavior.Edge
- rightSide
Type: Microsoft.VisualStudio.Modeling.Diagrams.AnchoringBehavior.Edge
- percentage
Type: System.Double
.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.