Last Updated: 04 Jan 2017 12:32 by ADMIN
Pavel R. Pavlov
Created on: 10 Feb 2014 08:09
Category: Diagram
Type: Feature Request
Diagram: Add an event notifying that ConnectionPoint is added or removed.
Currently there is no straightforward way to notify that a point is added/removed from the ConnectionPoints collection of the RadDiagramConnection. 

Declined: Duplicate with
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
Posted on: 01 Apr 2014 17:23
Currently there are two possible workarounds for this issue:
1) You could handle the CommaneExecuted event and check if the command's name is Modify Connection Points:
private void OnDiagramCommandExecuted(object sender, CommandRoutedEventArgs e)
    if (e.Command.Name == CommandNames.ModifyConnectionConnectionPoints)
        var connection = this.diagram.SelectedItems.OfType<IConnection>().FirstOrDefault();
        if (connection != null)
2) Use custom ConnectionManipulationTool (inherit ours), override its MouseDown method and check if in this case you'll add a new Point
Posted on: 11 Feb 2014 06:45
This functionality would make my code so much simpler. I'm persisting all the connectionpoints to a database and currently I have to handle the propertychanged event on a connection in order to know when a intermediate connection has been added or removed.