This project has moved and is read-only. For the latest updates, please go here.

Live preview of IntegerUpDown

Sep 28, 2011 at 8:07 AM


I can't seem to find a workaround for this, but being new to WPF it's easily possibly I've missed something.

So in short: How do I make the IntegerUpDown update it's Value property whilst the user is typing in it? Requiring the user to push enter or exit the control really hampers it's usability for me..

I've tried hooking KeyUp, but it seems .Text doesn't update either. The only solution I can think of is to roll my own, but hopefully there's an easier way?



Sep 28, 2011 at 2:41 PM

Unfortunately your requirement is not supported in the UpDown controls.  You could roll your own, or download the source and add an UpdateSourceTrigger to the Text property in the Generic.xaml.