Change negative entry to absolute value of entry

2 posts, 0 answers
  1. John Galt
    John Galt avatar
    3 posts
    Member since:
    May 2012

    Posted 24 Jan 2013 Link to this post

    If I have the MinValue set to 0 and I enter a negative value in the control, the value is getting set back to 0. How would I change the behavior to change the value to the absolute value of the entry rather than zero? I already have a control built that extends from RadNumericUpDown, just not sure what to hook up to to update the value. Thanks!
  2. John Galt
    John Galt avatar
    3 posts
    Member since:
    May 2012

    Posted 24 Jan 2013 Link to this post

    Think I found it. I overrode OnApplyTemplate and setup an event handler for when the text changes and put my logic there.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top