AnchoringBehavior.CenterVertically Method (AnchoringBehavior.Edge, ShapeField, AnchoringBehavior.Edge, Double)
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Sub CenterVertically ( _
topSide As AnchoringBehavior.Edge, _
sibling As ShapeField, _
bottomSide As AnchoringBehavior.Edge, _
percentage As Double _
)
public void CenterVertically(
AnchoringBehavior.Edge topSide,
ShapeField sibling,
AnchoringBehavior.Edge bottomSide,
double percentage
)
public:
void CenterVertically(
AnchoringBehavior::Edge topSide,
ShapeField^ sibling,
AnchoringBehavior::Edge bottomSide,
double percentage
)
member CenterVertically :
topSide:AnchoringBehavior.Edge *
sibling:ShapeField *
bottomSide:AnchoringBehavior.Edge *
percentage:float -> unit
public function CenterVertically(
topSide : AnchoringBehavior.Edge,
sibling : ShapeField,
bottomSide : AnchoringBehavior.Edge,
percentage : double
)
Parameters
- sibling
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeField
- bottomSide
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.