Hi.
We using the xamcolorpicker in our application but have come across a few issuses.
We use the color picker in a xamMenuItem both in a xamradialmenu and xamcontextmenu. However, when attempting to use the advanced picker - mouse interactions in the shading canvas as well as the hue canvas cause the radial menu / contextmenu to close. It seems to be ties to mousecapture event (and consequently the popup losing mouse capture);
in the shading canvas (on mouse down)
in the hue canvas on mouse down + mouse move
In the provided sample I've used the color picker in a popup with a "normal" wpf menu and within a xamcontext menu. The sample also has two difference styles, out of the box dark royale and dark royal using a grid:
https://es.infragistics.com/community/forums/f/ultimate-ui-for-wpf/85308/using-color-picker-within-windowdialog/426599
in the vanilla version clicking the advanced button when the color picker is in a xam context menu will close the menu immediately.
Any help you can provide would be great!
XamColorPickerTest.zip
Hello Andrew,
I ran into the same problem today. When using XamColorPicker inside ContextMenu, the color picker closes as soon as i click inside the shading canvas.
Since this item is still marked as unanswered, please let me know if there has been a fix or workaround.
Tobias
Hello Nathan,
Thank you for your post.
I have been investigating this behavior you are seeing, and I have reproduced it. It appears that the “selector” for shade and hue is not handling the mouse events correctly, and so the event is essentially bubbling out and closing the Popup / menus.
This behavior is unexpected, and as such, I have asked our engineering staff to examine it further. To ensure it receives attention, I have logged a development issue with an ID of 263539. In order for you to be notified when a fix or other resolution becomes available, I have also created you a private support case with an ID of CAS-202150-V7D8F0, which I will be linking this issue to. You can access this support case here.
Please let me know if you have any other questions or concerns on this matter.
Sincerely, Andrew Goldenbaum Software Developer