AnchoringBehavior.CenterVertically Method (ShapeField, AnchoringBehavior.Edge, ShapeField, 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
‘선언
Public Sub CenterVertically ( _
topSibling As ShapeField, _
topSiblingSide As AnchoringBehavior..::..Edge, _
bottomSibling As ShapeField, _
bottomSiblingSide As AnchoringBehavior..::..Edge, _
percentage As Double _
)
public void CenterVertically(
ShapeField topSibling,
AnchoringBehavior..::..Edge topSiblingSide,
ShapeField bottomSibling,
AnchoringBehavior..::..Edge bottomSiblingSide,
double percentage
)
public:
void CenterVertically(
ShapeField^ topSibling,
AnchoringBehavior..::..Edge topSiblingSide,
ShapeField^ bottomSibling,
AnchoringBehavior..::..Edge bottomSiblingSide,
double percentage
)
member CenterVertically :
topSibling:ShapeField *
topSiblingSide:AnchoringBehavior..::..Edge *
bottomSibling:ShapeField *
bottomSiblingSide:AnchoringBehavior..::..Edge *
percentage:float -> unit
public function CenterVertically(
topSibling : ShapeField,
topSiblingSide : AnchoringBehavior..::..Edge,
bottomSibling : ShapeField,
bottomSiblingSide : AnchoringBehavior..::..Edge,
percentage : double
)
Parameters
- topSibling
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeField
- topSiblingSide
Type: Microsoft.VisualStudio.Modeling.Diagrams.AnchoringBehavior.Edge
- bottomSibling
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeField
- bottomSiblingSide
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.