The NumericTextBox type exposes the following members.

Constructors

  NameDescription
NumericTextBox
Initializes a new instance of the NumericTextBox class.

Methods

  NameDescription
EndInit
Indicates that the initialization process for the element is complete.
(Inherited from NumericTextBoxBase<(Of <(TNumber>)>).)
OnApplyTemplate
Called by the framework when a template is applied to the control.
(Inherited from FilteringTextBoxBase.)
OnGotKeyboardFocus
Adds class handling for the GotKeyboardFocus event.
(Inherited from NumericTextBoxBase<(Of <(TNumber>)>).)
OnLostKeyboardFocus
Adds class handling for the LostKeyboardFocus event.
(Inherited from NumericTextBoxBase<(Of <(TNumber>)>).)
OnPreviewKeyDown
Overrides default handling for the PreviewKeyDown event.
(Inherited from NumericTextBoxBase<(Of <(TNumber>)>).)
OnPreviewMouseLeftButtonDown
Adds class handling for the PreviewMouseLeftButtonDown event.
(Inherited from NumericTextBoxBase<(Of <(TNumber>)>).)
OnPreviewTextInput
Overrides default handling for the PreviewTextInput event.
(Inherited from NumericTextBoxBase<(Of <(TNumber>)>).)
OnVisualParentChanged
Invoked when the parent element of this UIElement reports a change to its underlying visual parent.
(Inherited from NumericTextBoxBase<(Of <(TNumber>)>).)

Fields

  NameDescription
DecimalPlacesProperty
Identifies the DecimalPlaces property.
EnforceDecimalPlacesProperty
Identifies the EnforceDecimalPlaces property.

Properties

  NameDescription
Culture
Gets or sets the culture used for parsing and formatting of user input. This is a dependency property.
(Inherited from FilteringTextBoxBase.)
DecimalPlaces
Gets or sets the number of decimal places to display. Set to -1 to display the default number of decimal places for the culture. This is a dependency property.
EnforceDecimalPlaces
Gets or sets whether the user is prevented from typing beyond the permitted number of decimal places. Ignored if DecimalPlaces is -1. This is a dependency property.
IsReadOnly
Gets or sets whether the text box is read-only. This is a dependency property.
(Inherited from NumericTextBoxBase<(Of <(TNumber>)>).)
Maximum
Gets or sets the maximum value. This is a dependency property.
(Inherited from NumericTextBoxBase<(Of <(TNumber>)>).)
Minimum
Gets or sets the minimum value. This is a dependency property.
(Inherited from NumericTextBoxBase<(Of <(TNumber>)>).)
RangeConstraintMode
Gets or sets when the control enforces range (minimum and maximum) constraints. This is a dependency property.
(Inherited from NumericTextBoxBase<(Of <(TNumber>)>).)
SelectAllOnEntry
Gets or sets the whether the control should select all text when it gains focus. This is a dependency property.
(Inherited from NumericTextBoxBase<(Of <(TNumber>)>).)
ShowSeparators
Gets or sets whether to show group separators. This is a dependency property.
(Inherited from NumericTextBoxBase<(Of <(TNumber>)>).)
Text
Gets or sets the text displayed to represent the value. This is a dependency property.
(Inherited from FilteringTextBoxBase.)
TextAlignment
Gets or sets the text alignment. This is a dependency property.
(Inherited from FilteringTextBoxBase.)
Value
Gets or sets the numeric value. This is a dependency property.
(Inherited from NumericTextBoxBase<(Of <(TNumber>)>).)

Events

  NameDescription
ValueChanged
Occurs when the Value changes.
(Inherited from NumericTextBoxBase<(Of <(TNumber>)>).)

See Also