Disable the mouse click event of a button placed inside a listbox item
Posted
by Malcolm
on Stack Overflow
See other posts from Stack Overflow
or by Malcolm
Published on 2010-04-27T06:45:45Z
Indexed on
2010/04/27
6:53 UTC
Read the original article
Hit count: 304
I have a button placed inside a listbox item and i have style defined fro that button where i have two images and on mouse hover i change the image. Now the problem is I am handling the listbox mouse event and when click the button the listbox mouse event doesn't fires.
I tried to make the property of button ishittestvisisble=false And now if i click on button the listbox mouse event fires but the problem is the two images placed inside the styling of button don't apply as they are the child of button and by default their ishittestvisible also turn out to be false.
So any suggestion or idea will be helpfull ....tx in advance...
© Stack Overflow or respective owner