Skip to content

Commit

Permalink
Fix NumericUpDown text not updating when arrow keys are used
Browse files Browse the repository at this point in the history
  • Loading branch information
ScrubN authored Apr 4, 2024
1 parent c7f4712 commit ab9c58c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,12 @@ private void TextBox_PreviewKeyDown(object sender, KeyEventArgs e)
if (e.Key == Key.Up)
{
Value += Increment;
SetText(true);
}
else if (e.Key == Key.Down)
{
Value -= Increment;
SetText(true);
}
}

Expand Down

0 comments on commit ab9c58c

Please sign in to comment.