A type of ObservableCollection that holds IDiagramConnection objects and allows
for cascading removal of IDiagramConnection objects that have other
IDiagramConnection objects attached to them. A DiagramConnectionCollection uses the
IDiagramConnectionRemover found in the IDiagramModel passed into the constructor
to delete the cascading connections from that model.
Namespace:
Mindscape.WpfDiagramming.FoundationAssembly: Mindscape.WpfDiagramming.Foundation (in Mindscape.WpfDiagramming.Foundation.dll)
Version: 2.0.0.0 (2.0.0.0)
Syntax
C# |
---|
public class DiagramConnectionCollection<TConnection> : ObservableCollection<TConnection> where TConnection : IDiagramConnection |
Visual Basic (Declaration) |
---|
Public Class DiagramConnectionCollection(Of TConnection As IDiagramConnection) _ Inherits ObservableCollection(Of TConnection) |
Type Parameters
- TConnection
- The type of connection in the collection.
Inheritance Hierarchy
System..::.Object
System.Collections.ObjectModel..::.Collection<(Of <(TConnection>)>)
System.Collections.ObjectModel..::.ObservableCollection<(Of <(TConnection>)>)
Mindscape.WpfDiagramming.Foundation..::.DiagramConnectionCollection<(Of <(TConnection>)>)
System.Collections.ObjectModel..::.Collection<(Of <(TConnection>)>)
System.Collections.ObjectModel..::.ObservableCollection<(Of <(TConnection>)>)
Mindscape.WpfDiagramming.Foundation..::.DiagramConnectionCollection<(Of <(TConnection>)>)