If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register or Login
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

I want to launch this application in a PC with a touch screen, then Iím using MouseDown event instead of Click event.

I have realized that when these buttons are pressed, sometimes, they are not changed to Red. I tried to call Dispatcher.Invoke with Render priority once the button is pressed but it didnít solve the problem.

Re: Buttons not updated when window showed or closed

You mention that you are programming for a touch screen and that you are using the mouse down events. I'm not familiar with programming for a touch screen, so are you saying that Button Click events don't work for touch screens?

Re: Buttons not updated when window showed or closed

Hi Arjay,

You can use Click events in Touch Screen, but I want that the event fires when the user releases the mouse button. If I use Click, it will fire when a mousedown and mouseup event occur on the same element.