ComponentOne Basic Library for UWP
Basic Library Overview / Input for UWP / Input for UWP Quick Starts / NumericBox for UWP Quick Start / Step 4 of 4: Running the Application
In This Topic
    Step 4 of 4: Running the Application
    In This Topic

    Now that you've created a UWP-style application and customized the application's appearance and behavior, the only thing left to do is run your application. To run your application and observe NumericBox for UWP's run-time behavior, complete the following steps:

    1. From the Debug menu, select Start Debugging to view how your application will appear at run time.
    1. Click the + button in the first C1NumericBox control until 5 is displayed. Note that the number increased by 1 each time you click the button, this is because the C1NumericBox.Increment property is set to 1 by default.
    1. Click inside the second C1NumericBox, highlight the "0" value, and type "2" to replace it.
    1. Try clicking the - button in the third C1NumericBox control and notice that the number does not change. This is because the C1NumericBox.Minimum property was set to 0 and so the control will not accept values less than zero. Click the + button until 3 is displayed.
    1. In the fourth C1NumericBox control, place the cursor in front of the 0 and click. Enter "5" so that "50" is displayed.
    1. Click inside the last C1NumericBox control. Notice that the 50 inside the fourth C1NumericBox was reset to 9. That's because the C1NumericBox.Maximum property was set to 9 so the control will not accept values greater than nine.
    1. Enter 9 in the last C1NumericBox control.
    1. Click the - button of the fourth C1NumericBox control twice so 7 is displayed. Note that the text of the second Label changed and the button is now visible.
    1. Try typing inside a C1NumericBox control or clicking its + or - buttons, notice that you cannot. That is because the C1NumericBox.IsReadOnly property was set to True when the correct number sequence was entered and the controls are now locked from editing.
    1. Click the now-visible Enter button to navigate to the ComponentOne Web site.

    Congratulations! You've completed the NumericBox for UWP quick start and created a NumericBox for UWP application, customized the appearance and behavior of the controls, and viewed some of the run-time capabilities of your application.

    See Also