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
160
Handling the MouseUp event inside a XamDataGrid cell
posted

I am using a XamDataGrid having images included in certain cells. I need to handle the MouseUp event in order to be able to do some processing for the row I just selected during the MouseDown event.

I tried to attach a MouseUp event handler to the image or to the CellValuePresenter hosting the image. Unfortunately the MouseUp event behaves erratically: sometimes is triggered and sometimes is not. I do NOT see this problem when triggering the MouseDown event which always fires in a predictable and consistent fashion.

Is there any workaround  for this problem?

Thank you, Radu