Detecting when editing is underway

1 posts, 0 answers
  1. Jules
    Jules avatar
    2 posts
    Member since:
    Mar 2016

    Posted 21 Apr 2016 Link to this post

    My use case requires programmatically detecting when a NumericUpDown control is currently being edited, so that we can disallow the user from clicking a button before they've committed their value.

    Currently I'm using the Got/LostKeyboardFocus events as well as the setter of the value that the NUD is bound to, but there are many cases in which this approach is insufficient. Ideally, the NUD would have a property I could bind to that would indicate when the NUD is being edited but I haven't found any such thing.

    Thanks in advance!

Back to Top