NumericTextBox
This text box for numeric, percentage or currency input.
Inherits from System.Windows.Controls.TextBox.
Properties
Property name | Description |
---|---|
Format | Gets or sets input value format (standart formats/custom formats) (e.g. “F0”, “C2” etc). |
MaxValue | Gets or sets maximum input value. |
MinValue | Gets or sets minimum input value. |
Value | Gets or sets current double value. |
Events
Event name | Description |
---|---|
RightBoundReached | Occurs when caret reached end of text. |
LeftBoundReached | Occurs when caret reached text start. |
How to use
<orc:NumericTextBox x:Name="Price"
Value="{Binding Price}"
MinValue="1"
MaxValue="12000"
Format=C2/>
Contributions
We would like to thank the following contributors:
Want to contribute to the documentation? We have a guide for that!
Questions
Have a question about Catel or WildGums controls? Use StackOverflow with the Catel tag!