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
XamColorPicker mouse interaction in shading canvas (advanced color picker) closes popup, xamcontextmenu, xamradialmenu


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:

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!

  • 29910
    Offline posted

    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.

    Andrew Goldenbaum
    Software Developer