Partager via


AnchoringBehavior.SetTopAnchor, méthode (NodeShape, AnchoringBehavior.Edge, Double)

Ancre au côté supérieur du ShapeField à un côté particulier d'un frère NodeShape.

Espace de noms :  Microsoft.VisualStudio.Modeling.Diagrams
Assembly :  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (dans Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntaxe

'Déclaration
Public Sub SetTopAnchor ( _
    sibling As NodeShape, _
    side As AnchoringBehavior.Edge, _
    margin As Double _
)
public void SetTopAnchor(
    NodeShape sibling,
    AnchoringBehavior.Edge side,
    double margin
)

Paramètres

  • margin
    Type : System.Double
    La marge (dans des unités du monde) entre le côté supérieur du NodeShapeField et le côté spécifié du frère NodeShape.

Notes

Ancre au côté supérieur du ShapeField à un côté particulier d'un frère NodeShape.

Sécurité .NET Framework

Voir aussi

Référence

AnchoringBehavior Classe

SetTopAnchor, surcharge

Microsoft.VisualStudio.Modeling.Diagrams, espace de noms