This method can be overriden to provide additional logic for allowing a connection to be made between the given connection point and destination.
This implementation always returns true.
Namespace:
Mindscape.WpfDiagramming.FlowDiagramsAssembly: Mindscape.WpfDiagramming.FlowDiagrams (in Mindscape.WpfDiagramming.FlowDiagrams.dll)
Version: 2.0.0.0 (2.0.0.0)
Syntax
C# |
---|
public virtual bool CanCreateConnection( IDiagramModel diagram, IDiagramConnectionPoint fromConnectionPoint, ConnectionDropTarget dropTarget ) |
Visual Basic (Declaration) |
---|
Public Overridable Function CanCreateConnection ( _ diagram As IDiagramModel, _ fromConnectionPoint As IDiagramConnectionPoint, _ dropTarget As ConnectionDropTarget _ ) As Boolean |
Parameters
- diagram
- Type: Mindscape.WpfDiagramming.Foundation..::.IDiagramModel
The IDiagramModel that the connection will belong to.
- fromConnectionPoint
- Type: Mindscape.WpfDiagramming.Foundation..::.IDiagramConnectionPoint
The IDiagramConnectionPoint that represents the start of the connection.
- dropTarget
- Type: Mindscape.WpfDiagramming.Foundation..::.ConnectionDropTarget
Information about the potential destination of the connection.