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 ?!
@alinateghi You can handle/prevent this at the Button's click event.
private async void ButtonClick(object sender, RoutedEventArgs e)
if (e.OriginalSource != sender)
// do nothing if clicked NumericUpDown parts
e.Handled = true;
// handle the button click action
await this.ShowMessageAsync(string.Empty, "Yeah, you clicked the real button!");