Search code examples
wpfcontrolsnumericupdownupdown

Where is the WPF Numeric UpDown control?


Getting into the first serious WPF project. It seems like there are a lot of basic controls flat out missing. Specifically, I am looking for the Numeric UpDown control. Was there an out of band release that I missed? Really don't feel like writing my own control.

I do not want to use the WindowsFormHost and plop a WinForm ctl on it. I want it to be fully WPF without any legacy junk.

Thanks


Solution

  • Simply use the IntegerUpDown control in the Extended.Wpf.Toolkit You can use it like this:

    1. Add to your XAML the following namespace:

      xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"

    2. In your XAML where you want the control use:

      <xctk:IntegerUpDown Name="myUpDownControl" />