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