Home > Net >  Touch screen, WPF use Showdialog opened the window, close the window when the trigger main interface
Touch screen, WPF use Showdialog opened the window, close the window when the trigger main interface

Time:10-11

Touch screen, WPF use Showdialog opened the window, close the window triggered when the main interface to the same location Button (such as the Button A) controls, for example, create A Button control is hover activated, then click the other Button on the main interface (such as Button B), access to the value is the value of the Button A

This kind of situation in the use of the mouse operation does not exist, the main touch the finger position may be a pointer disappeared slowly,



As shown above, click on the settlement after the button, it will pop up the following window



Click on the "close" button, the window to the settlement of below case



"Close" button on the main interface is located in the settlement window button controls the position of "xinjiang hami melon" is activated, cause, click another button (such as button bananas), the left column is "xinjiang hami melon,"

Note: this problem does not exist when the mouse operation, the request given solution,

CodePudding user response:

Should be routed to the other controls on the Touch events, in the same Dom tree and children will inherit parent node,

CodePudding user response:

Using the click, don't use the touch events

CodePudding user response:

I met this problem, also not Showdialog as if he could, but I really want to find a solution to use Showdialog,