This is a follow up question to the post here: "http://blogs.infragistics.com/forums/t/66066.aspx". Now that I am using a connection callback I lose the functionality of the LineEndCaps.
I've found another solution that will add an arrow to the end of a line here: "http://stackoverflow.com/questions/5188877/how-to-have-arrow-symbol-on-a-line-in-c-wpf". However this approach makes it so the arrow is a fixed size and doesn't scale with the zooming in and out.
Is there a way to use the DefineConnectionCallback and still use LineEndCaps?
Kind Regards,
Daniel
Hello Daniel,
Thank you for your post. I have been looking into it and I can say that since you add new Path in the Callback method it is expected that the start and end caps don’t appear. In the approach you find you can check how long is the line you draw and scale the arrow according to the length of the Line.
Hope this helps you.
Hi! I have a similar requirement.
Could not understand the meaning of your statement.
"you can check how long is the line you draw and scale the arrow according to the length of the Line".
All I can do is set the StrokeLineCap property through the same callback method.Although it shows no change when applied.
Could you please help me with that?