You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used this control in a button. Button has click event so when i try to use up/down buttons, button event fired too. also when i touch other part this issue happen expected the textbox of it.
So, how can prevent parent event ?!
Thanks,
Ali
MahApps.Metro v1.3
The text was updated successfully, but these errors were encountered:
@alinateghi You can handle/prevent this at the Button's click event.
privateasyncvoidButtonClick(objectsender,RoutedEventArgse){if(e.OriginalSource!=sender){// do nothing if clicked NumericUpDown partse.Handled=true;}else{// handle the button click actionawaitthis.ShowMessageAsync(string.Empty,"Yeah, you clicked the real button!");}}
Hello
I used this control in a button. Button has click event so when i try to use up/down buttons, button event fired too. also when i touch other part this issue happen expected the textbox of it.
So, how can prevent parent event ?!
Thanks,
Ali
The text was updated successfully, but these errors were encountered: