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
Node selection
posted

Hi.

Is there some way to select node of XamOrgChart by right mouse click? Or at least get node under mouse cursor?

Thanks for reply.

Parents
  • 138253
    Verified Answer
    Offline posted

    Hello Lukas,

     

    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 created a Style for the OrgChartNodeControl and added EventSetter for the PreviewMouseRightButtonDown event and in the handler I set the Node’s IsSelected Property to true. Please let me know if this helps you or you have further questions on this matter.

     

    Looking forward for your reply.

    XamOrgChartRightClickSelect.zip
Reply Children