Diagram.HandleNewSwimLaneInsertion(DiagramClientView, DomainClassInfo, SwimlaneShape, Boolean) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Gère l’insertion d’un nouveau couloir dans le diagramme.
public:
virtual void HandleNewSwimLaneInsertion(Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ view, Microsoft::VisualStudio::Modeling::DomainClassInfo ^ selectedDomainClass, Microsoft::VisualStudio::Modeling::Diagrams::SwimlaneShape ^ selectedSwimLane, bool insertAfter);
public virtual void HandleNewSwimLaneInsertion (Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView view, Microsoft.VisualStudio.Modeling.DomainClassInfo selectedDomainClass, Microsoft.VisualStudio.Modeling.Diagrams.SwimlaneShape selectedSwimLane, bool insertAfter);
abstract member HandleNewSwimLaneInsertion : Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView * Microsoft.VisualStudio.Modeling.DomainClassInfo * Microsoft.VisualStudio.Modeling.Diagrams.SwimlaneShape * bool -> unit
override this.HandleNewSwimLaneInsertion : Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView * Microsoft.VisualStudio.Modeling.DomainClassInfo * Microsoft.VisualStudio.Modeling.Diagrams.SwimlaneShape * bool -> unit
Public Overridable Sub HandleNewSwimLaneInsertion (view As DiagramClientView, selectedDomainClass As DomainClassInfo, selectedSwimLane As SwimlaneShape, insertAfter As Boolean)
Paramètres
- view
- DiagramClientView
Affichage du client à l’origine de la commande.
- selectedDomainClass
- DomainClassInfo
Classe de domaine de l’élément de modèle à insérer.
- selectedSwimLane
- SwimlaneShape
Couloir spécifiant la position d’insertion.
- insertAfter
- Boolean
Indique s’il faut insérer avant ou après le couloir spécifié.