Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
215
Winforms NumericUpDown (equivelant) for WPF?
posted

Hi all.. can you tell me if infragistics does a NumericUpDown for wfp?

I want something that allows a min and max value to be specified and has up/down buttons on the right to choose the number.. just like the WinForms "NumericUpDown" control.

I have IG's WPF 8.2 i think..

Parents
  • 69686
    posted

    Hello,

    In WPF the equivalent of the NumericUpDown is the XamNumericEditor. When it is in EditMode, you can increase/decrease the value in the editor with the UP and DOWN arrow keys. You can set the MAX and MIN value with the ValueConstraint property of the XamNumericEditor.

                <igEditors:XamNumericEditor.ValueConstraint>
                    <igEditors:ValueConstraint MaxInclusive="5" MinInclusive="0"/>
                </igEditors:XamNumericEditor.ValueConstraint>

    Hope this helps.

    Alex.

Reply Children