mouse click
-
Hello, I have a button which opens a popup. I want the option - if user clicks in any place outside of this button or popup so it will be closed. otherwise it will be on screen. How can i do it?
-
Hello, I have a button which opens a popup. I want the option - if user clicks in any place outside of this button or popup so it will be closed. otherwise it will be on screen. How can i do it?
-
Try to grab focus and then when when the click event does not occur on the popup, close the popup. To get the click event and check if the mouse pointer is not within the popup frame, use
GetVisualDescendants
.how to use this GetVisualDescendants ?
-
how to use this GetVisualDescendants ?
In code.
*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington
"Mind bleach! Send me mind bleach!" - Nagy Vilmos
My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility
-
In code.
*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington
"Mind bleach! Send me mind bleach!" - Nagy Vilmos
My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility
can you give an example?
-
how to use this GetVisualDescendants ?