Condividi tramite


Proprietà Diagram.CreatableSwimLaneSubjects

Ottiene l'elenco di classi di dominio collegate alle forme di corsia.

Spazio dei nomi:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Sintassi

'Dichiarazione
Public Overridable ReadOnly Property CreatableSwimLaneSubjects As IEnumerable(Of DomainClassInfo)
public virtual IEnumerable<DomainClassInfo> CreatableSwimLaneSubjects { get; }

Valore proprietà

Tipo: System.Collections.Generic.IEnumerable<DomainClassInfo>
L'elenco di classi di dominio collegate alle forme di corsia.

Esempi

public override void CreateConnection(DslDiagrams::ShapeElement sourceShapeElement, DslDiagrams::ShapeElement targetShapeElement, DslDiagrams::PaintFeedbackArgs paintFeedbackArgs)
{
    System.Collections.Generic.Dictionary<object, object> contextInfo = sourceShapeElement.Store.TransactionManager.CurrentTransaction.Context.ContextInfo;
    DslDiagrams::MouseAction activeMouseAction = sourceShapeElement.Diagram.ActiveDiagramView.ActiveMouseAction;
    contextInfo.Add(Constant.MouseToPointKey, activeMouseAction.CurrentPoint);
    contextInfo.Add(Constant.MouseFromPointKey, activeMouseAction.MouseDownPoint);                               

    base.CreateConnection(sourceShapeElement, targetShapeElement, paintFeedbackArgs);
}

Sicurezza di .NET Framework

Vedere anche

Riferimenti

Diagram Classe

Spazio dei nomi Microsoft.VisualStudio.Modeling.Diagrams