NumericTextBox
|
<< Click to Display Table of Contents >> NumericTextBox |
|
NumericTextBox provides functionality for numeric text boxes to capture user input. This UI element can be defined in XAML for an AddOn if desired, with functionality and logic related to the text box defined in C#, as in the examples below.
Note: For a complete, working example of this class in use, download framework example located on our Developing AddOns Overview |
NumericTextBox inherits from System.Windows.Controls.Textbox, and the following additional properties can be accessed for an instance the class:
Minimum |
Determines the minimum value which can be entered |
Maximum |
Determines the maximum value which can be entered |
ValueType |
Determines the System.Type which can be accepted |
|
|---|
<!-- Create a grid in which to place the NumericTextBox --> |
|
|---|
private NumericTextBox daysBack; |