So I am making a program that calculates some numbers in a WPF Application. I am however having trouble detecting a keystroke in either of the text boxes. I figured I would be using an if statement, but I'm not sure how to get it working. I basically want the program to hide a few things when the user starts to enter a new set of data. I know the text to set the objects back to hidden. Any hint or bit of information would be greatly appreciated.
How would I make an if statement detect a keystroke in a txtbox on a WPF Application?
Collapse