Partilhar via


Propriedade Diagram.CreatableSwimLaneSubjects

Obtém a lista de classes de domínio que estão vinculados às formas de raia.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (em Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Sintaxe

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

Valor de propriedade

Tipo: System.Collections.Generic.IEnumerable<DomainClassInfo>
A lista de classes de domínio que estão vinculados às formas de raia.

Exemplos

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);
}

Segurança do .NET Framework

Consulte também

Referência

Diagram Classe

Namespace Microsoft.VisualStudio.Modeling.Diagrams