Navigation :
NumericTextBox
Name |
Value |
Assembly |
Catel.MVVM |
Namespace |
Catel.Windows.Interactivity |
Available on |
.NET Framework 4.5, .NET Framework 4.6 |
public class NumericTextBox : BehaviorBase<TextBox>
Base types
BehaviorBase
Behavior to only allow numeric input on a.
Fields
IsDecimalAllowedProperty
Using a DependencyProperty as the backing store for IsDecimalAllowed. This enables animation, styling, binding, etc…
IsNegativeAllowedProperty
Are negative numbers allowed
UpdateBindingOnTextChangedProperty
Using a DependencyProperty as the backing store for UpdateBindingOnTextChanged. This enables animation, styling, binding, etc…
Properties
IsDecimalAllowed
Gets or sets a value indicating whether decimal values are allowed.
IsNegativeAllowed
Gets or sets a value indicating whether negative values are allowed.
UpdateBindingOnTextChanged
Gets or sets a value indicating whether the binding should be updated whenever the text changes.
Methods
Initialize()
Initializes this instance.
Uninitialize()
Uninitializes this instance.
Have a question about Catel? Use StackOverflow with the Catel tag!
Discussion