AnchoringBehavior.CenterHorizontally Method (AnchoringBehavior.Edge, ShapeField, 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 ( _
leftSide As AnchoringBehavior..::..Edge, _
sibling As ShapeField, _
rightSide As AnchoringBehavior..::..Edge _
)
public void CenterHorizontally(
AnchoringBehavior..::..Edge leftSide,
ShapeField sibling,
AnchoringBehavior..::..Edge rightSide
)
public:
void CenterHorizontally(
AnchoringBehavior..::..Edge leftSide,
ShapeField^ sibling,
AnchoringBehavior..::..Edge rightSide
)
member CenterHorizontally :
leftSide:AnchoringBehavior..::..Edge *
sibling:ShapeField *
rightSide:AnchoringBehavior..::..Edge -> unit
public function CenterHorizontally(
leftSide : AnchoringBehavior..::..Edge,
sibling : ShapeField,
rightSide : AnchoringBehavior..::..Edge
)
Parameters
- sibling
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeField
- rightSide
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.