Modifies the Data, FromConnectionPoint, ToConnectionPoint, Segments, IsUserModified, and ConnectionPoints properties of the
given IDiagramConnection to match the property values stored by this ConnectionState.
Note that because Data is a readonly property on IDiagramConnection, this method can not set it, and
so if neccessary, the IDiagramConnection.SetAs method should be responsible for this.
Namespace:
Mindscape.WpfDiagramming.FoundationAssembly: Mindscape.WpfDiagramming.Foundation (in Mindscape.WpfDiagramming.Foundation.dll)
Version: 2.0.0.0 (2.0.0.0)
Syntax
C# |
---|
public virtual void Apply( IDiagramConnection connection ) |
Visual Basic (Declaration) |
---|
Public Overridable Sub Apply ( _ connection As IDiagramConnection _ ) |
Parameters
- connection
- Type: Mindscape.WpfDiagramming.Foundation..::.IDiagramConnection
The IDiagramConnection that will have its properties modified by this ConnectionState.