Hi,
I am trying to use DependencySpecificLook to provide a ContextMenu on the dependency lines. While setting LineBrush works, it does not seem to work for DependencyLinePathStyle.
DependencySpecificLook look = new DependencySpecificLook();
ContextMenu cm = new ContextMenu();
MenuItem m1 = new MenuItem() {Header = "delete"};
cm.Items.Add(m1);
Style style = new Style();
Setter s1 = new Setter(FrameworkElement.ContextMenuProperty, cm);
style.Setters.Add(s1);
look.DependencyLinePathStyle = style;
Doing this from XAML would be great too. Unfortunately there is no example for DependencySpecificLook - can you provide one?