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
140
How to handle right clicked XamPieChart slices?
posted

Hi,

I need to do things when user right clicks XamPieChart slices. As I see it there's only SliceClick event which occurs when left clicking. So is there a way to do the same thing for right clicking?

Parents
No Data
Reply
  • 138253
    Verified Answer
    Offline posted

    Hello,

     

    Thank you for your post. I have been looking into it and I created a sample project for you with the functionality you want. Basically I handled the XamPieChart’s PreviewMouseLeftButtonDown event and used the Utilities class and MouseButtonEventArgs’ OriginalSource Property to get the clicked slice. Please let me know if this helps you or you have further questions on this matter.

     

    Looking forward for your reply.

    XamPieChartSliceRightClick.zip
Children
No Data