Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
405
DefineConnectionCallback and LineEndCap
posted

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

Parents
No Data
Reply
  • 138253
    Offline posted

    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.

Children