Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 73760

How to access MouseDown method from an element in WPF using ManagedHost?

$
0
0

Good day, I'm developing a form using DAX 2012 and a ManagedHost containing a WPF form, which contains several rectangles with MouseDown methods each one, I know I can use events from the ManagedHost in DAX to access to the diferent WPF methods, in my case I need to use MouseDown method from DAX, but only for one rectangle. The problem is that MouseDown method in DAX fires everytime you click on any element using MouseDown in the WPF, and I only need it to be fired when clicking on rectangle1 for example, is there any way to recognize which element fired the event to use only that MouseDown method for that clicked element instead of being fired for all of them? Thanks in advanced, have a nice day!!


Viewing all articles
Browse latest Browse all 73760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>