The C1NumericBox.Value property determines the currently selected number. By default the C1NumericBox control starts with its C1NumericBox.Value set to 0 but you can customize this number.
At Design Time
To set the C1NumericBox.Value property, complete the following steps:
This will set the C1NumericBox.Value property to the number you chose.
In XAML
For example, to set the C1NumericBox.Value property addValue="123" to the <Xaml:C1NumericBox> tag so that it appears similar to the following:
Markup |
Copy Code
|
---|---|
<Xaml:C1NumericBox x:Name="C1NumericBox1" Value="123"></Xaml:C1NumericBox> |
In Code
For example, to set the C1NumericBox.Value property add the following code to your project:
Visual Basic |
Copy Code
|
---|---|
C1NumericBox1.Value = 123 |
C# |
Copy Code
|
---|---|
c1NumericBox1.Value = 123; |
Run your project and observe:
Initially 123 (or the number you chose) will appear in the control.