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
1115
initial value in xamnumericeditor
posted

how does one set the initial value in xaml and in c#?

 

Parents
No Data
Reply
  • 8421
    Suggested Answer
    posted

    Hello,

    The most important thing to note when setting the value is that the XamNumericEditor expects a value of type double. You'll need to make sure that the value you are passing in is of this type.

    XAML:

     

            <ig:XamNumericEditor Name="xamNumericEditor1">
                <ig:XamNumericEditor.Value>
                    <sys:Double>100.00</sys:Double>
                </ig:XamNumericEditor.Value>
            </ig:XamNumericEditor>


    C#:

        xamNumericEditor1.Value = 200.00;

Children
No Data