Applies the property values stored in this StarDiagramConnectionState on to the given IDiagramConnection.
Note that because the Data property is readonly, it must be set by the given IDiagramConnection
itself if neccessary.
This method throws an InvalidOperationException if the given connection is not an instance of
StarDiagramConnection.
Namespace:
Mindscape.WpfDiagramming.StarDiagramsAssembly: Mindscape.WpfDiagramming.StarDiagrams (in Mindscape.WpfDiagramming.StarDiagrams.dll)
Version: 2.0.0.0 (2.0.0.0)
Syntax
C# |
---|
public override void Apply( IDiagramConnection connection ) |
Visual Basic (Declaration) |
---|
Public Overrides Sub Apply ( _ connection As IDiagramConnection _ ) |
Parameters
- connection
- Type: Mindscape.WpfDiagramming.Foundation..::.IDiagramConnection
The connection onto which the state is being restored.