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
90
XamNumericEditor Decimal with Spinner
posted

Hello ,

I m using XamNumericEditor  but I want to show decimal value in this spinner

eg the value should be displayed as 0.5 and I should be able to increment by 0.1, and bound to increment till 5, and bound to decrement till 0.0

Please suggest me solution with xaml code

Thanks & Regards,

Amal

Parents
No Data
Reply
  • 6365
    Offline posted

    Hello Amal,
     
    In order to set a decimal increment value along with a value range in the XamNumericEditor, I can suggest you set the SpinIncrement, MaxInclusive and MinInclusive properties respectively:
     
    <igEditors:XamNumericEditor Width="200" Height="25"
                                                                 SpinIncrement="0.1"
                                                                 SpinButtonDisplayMode="Always"
                                                                 Value="0.5">

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

    </igEditors:XamNumericEditor>

    If you require any further assistance on this matter, please do not hesitate to ask.

Children
No Data