Diagram.CreatableSwimLaneSubjects Özellik
Swimlane şekilleri bağlantılı etki sınıflarına alır.
Ad alanı: Microsoft.VisualStudio.Modeling.Diagrams
Derleme: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll içinde)
Sözdizimi
'Bildirim
Public Overridable ReadOnly Property CreatableSwimLaneSubjects As IEnumerable(Of DomainClassInfo)
public virtual IEnumerable<DomainClassInfo> CreatableSwimLaneSubjects { get; }
Özellik Değeri
Tür: System.Collections.Generic.IEnumerable<DomainClassInfo>
Swimlane şekilleri bağlantılı etki alanı sınıfları listesi.
Örnekler
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);
}
.NET Framework Güvenliği
- Anında arayanlar için tam güven. Bu üye kısmen güvenilen kodla kullanılamaz. Daha fazla bilgi için bkz. Kısmen güvenilen kod kitaplıklarını kullanma.