NumericTextBox

This text box for numeric, percentage or currency input.

Inherits from System.Windows.Controls.TextBox.

Properties

Property nameDescription
FormatGets or sets input value format (standart formats/custom formats) (e.g. “F0”, “C2” etc).
MaxValueGets or sets maximum input value.
MinValueGets or sets minimum input value.
ValueGets or sets current double value.

Events

Event nameDescription
RightBoundReachedOccurs when caret reached end of text.
LeftBoundReachedOccurs 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!