AnchoringBehavior.CenterVertically Method (AnchoringBehavior.Edge, NodeShape, AnchoringBehavior.Edge, Double)
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 CenterVertically ( _
topSide As AnchoringBehavior.Edge, _
sibling As NodeShape, _
bottomSide As AnchoringBehavior.Edge, _
percentage As Double _
)
public void CenterVertically(
AnchoringBehavior.Edge topSide,
NodeShape sibling,
AnchoringBehavior.Edge bottomSide,
double percentage
)
public:
void CenterVertically(
AnchoringBehavior::Edge topSide,
NodeShape^ sibling,
AnchoringBehavior::Edge bottomSide,
double percentage
)
member CenterVertically :
topSide:AnchoringBehavior.Edge *
sibling:NodeShape *
bottomSide:AnchoringBehavior.Edge *
percentage:float -> unit
public function CenterVertically(
topSide : AnchoringBehavior.Edge,
sibling : NodeShape,
bottomSide : AnchoringBehavior.Edge,
percentage : double
)
Parameters
- sibling
Type: Microsoft.VisualStudio.Modeling.Diagrams.NodeShape
- bottomSide
Type: Microsoft.VisualStudio.Modeling.Diagrams.AnchoringBehavior.Edge
- percentage
Type: 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.