Hi,
We are using XAMDiagram, We are adding the functionality that as we right click on XAMDiagram give the options to insert image on XAMDaigram, so that we can insert image on that.
Please suggest for that.
Your help would be appreciate.
Thanks
Hello,
Thank you for your post. I have been looking into it, but it seems like I am missing something from your scenario, so if it is still an issue for you, could you please provide with more details about the functionality that you want to achieve.
Looking forward to hearing from you.
I just want to know the way like how to add Mouse right click options. Because we want to set background image of graphic editors for that we want to show Right click options on XAMDiagram window, so that as user do mouse right click on XAM Diagram window we can provide the option for saving background image.
Thanks.
Thank you for your feedback.
I have been looking into the functionality that you are looking for and if I understand you correctly, what I can suggest is to handle MouseRightButtonDown event of XamDiagram or create ContextMenu and handle the Click event of MenuItem. In the event handler of MouseRightButtonDown or Click you can create ImageBrush object and navigate its ImageSource to the image you want. Than you can set the background of XamDiagram to your ImageBrush object. I created short sample application based on your scenario to show you how you can implement the functionality that you are trying to achieve.
Please let me know if you require any further assistance on the matter.
I am just checking your progress on the issue that you are having.
If you require any further assistance please do not hesitate to ask