Class DoubleTextBox
Represents a control that can be used to display or edit double values.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Shared
Assembly: Syncfusion.Shared.WPF.dll
Syntax
[SkinType(SkinVisualStyle = Skin.Office2007Blue, Type = typeof(DoubleTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/Office2007BlueStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2007Black, Type = typeof(DoubleTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/Office2007BlackStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2007Silver, Type = typeof(DoubleTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/Office2007SilverStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2010Blue, Type = typeof(DoubleTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/Office2010BlueStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2010Black, Type = typeof(DoubleTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/Office2010BlackStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2010Silver, Type = typeof(DoubleTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/Office2010SilverStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2003, Type = typeof(DoubleTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/Office2003Style.xaml")]
[SkinType(SkinVisualStyle = Skin.Blend, Type = typeof(DoubleTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/BlendStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.SyncOrange, Type = typeof(DoubleTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/SyncOrangeStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.ShinyRed, Type = typeof(DoubleTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/ShinyRedStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.ShinyBlue, Type = typeof(DoubleTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/ShinyBlueStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Default, Type = typeof(DoubleTextBox), XamlResource = "/Syncfusion.Shared.Wpf;component/Controls/Editors/Themes/Generic.xaml")]
[SkinType(SkinVisualStyle = Skin.VS2010, Type = typeof(DoubleTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/VS2010Style.xaml")]
[SkinType(SkinVisualStyle = Skin.Metro, Type = typeof(DoubleTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/MetroStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Transparent, Type = typeof(DoubleTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/TransparentStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2013, Type = typeof(DoubleTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/Office2013Style.xaml")]
public class DoubleTextBox : EditorBase, IDisposableConstructors
DoubleTextBox()
Initializes a new instance of DoubleTextBox class
Declaration
public DoubleTextBox()Fields
GroupSeperatorEnabledProperty
Represents a GroupSeperatorEnabled property that can be set through methods such as, styling, data binding, animation, and inheritance.
Declaration
public static readonly DependencyProperty GroupSeperatorEnabledPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
InvalidValueBehaviorProperty
Represents a InvalidValueBehavior property that can be set through methods such as, styling, data binding, animation, and inheritance.
Declaration
public static readonly DependencyProperty InvalidValueBehaviorPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
MaximumNumberDecimalDigitsProperty
Represents a MaximumNumberDecimalDigits property that can be set through methods such as, styling, data binding, animation, and inheritance.
Declaration
public static readonly DependencyProperty MaximumNumberDecimalDigitsPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
MaxValueProperty
Represents a MaxValue property that can be set through methods such as, styling, data binding, animation, and inheritance.
Declaration
public static readonly DependencyProperty MaxValuePropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
MinimumNumberDecimalDigitsProperty
Represents a MinimumNumberDecimalDigits property that can be set through methods such as, styling, data binding, animation, and inheritance.
Declaration
public static readonly DependencyProperty MinimumNumberDecimalDigitsPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
MinValueProperty
Represents a MinValue property that can be set through methods such as, styling, data binding, animation, and inheritance.
Declaration
public static readonly DependencyProperty MinValuePropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
NullValueProperty
Represents a NullValue property that can be set through methods such as, styling, data binding, animation, and inheritance.
Declaration
public static readonly DependencyProperty NullValuePropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
NumberDecimalDigitsProperty
Represents a NumberDecimalDigits property that can be set through methods such as, styling, data binding, animation, and inheritance.
Declaration
public static readonly DependencyProperty NumberDecimalDigitsPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
NumberDecimalSeparatorProperty
Represents a NumberDecimalSeparator property that can be set through methods such as, styling, data binding, animation, and inheritance.
Declaration
public static readonly DependencyProperty NumberDecimalSeparatorPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
NumberGroupSeparatorProperty
Represents a NumberGroupSeparator property that can be set through methods such as, styling, data binding, animation, and inheritance.
Declaration
public static readonly DependencyProperty NumberGroupSeparatorPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
NumberGroupSizesProperty
Represents a NumberGroupSizes property that can be set through methods such as, styling, data binding, animation, and inheritance.
Declaration
public static readonly DependencyProperty NumberGroupSizesPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
ScrollIntervalProperty
Represents a ScrollInterval property that can be set through methods such as, styling, data binding, animation, and inheritance.
Declaration
public static readonly DependencyProperty ScrollIntervalPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
StepProperty
Represents a Step property that can be set through methods such as, styling, data binding, animation, and inheritance.
Declaration
public static readonly DependencyProperty StepPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
ValidationCompletedProperty
Represents a ValidationCompleted property that can be set through methods such as, styling, data binding, animation, and inheritance.
Declaration
public static readonly DependencyProperty ValidationCompletedPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
ValidationValueProperty
Represents a ValidationValue property that can be set through methods such as, styling, data binding, animation, and inheritance.
Declaration
public static readonly DependencyProperty ValidationValuePropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
ValueProperty
Represents a Value property that can be set through methods such as, styling, data binding, animation, and inheritance.
Declaration
public static readonly DependencyProperty ValuePropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
ValueValidationProperty
Represents a ValueValidation property that can be set through methods such as, styling, data binding, animation, and inheritance.
Declaration
public static readonly DependencyProperty ValueValidationPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
Properties
copycommand
Gets the value that represents the Copy command.
Declaration
public ICommand copycommand { get; }Property Value
| Type | Description | 
|---|---|
| System.Windows.Input.ICommand | The command.Default ValuesKey Gesture Ctrl+C TextCopy. | 
cutcommand
Gets the value that represents the Cut command.
Declaration
public ICommand cutcommand { get; }Property Value
| Type | Description | 
|---|---|
| System.Windows.Input.ICommand | The command.Default ValuesKey Gesture Ctrl+X TextCut. | 
GroupSeperatorEnabled
Gets or sets a value that indicates whether group separator is enabled.
Declaration
public bool GroupSeperatorEnabled { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Boolean | Returns true if group separator is enabled. Otherwise false. | 
InvalidValueBehavior
Gets or sets the way of DoubleTextBox reaction on wrong input data.
Declaration
public InvalidInputBehavior InvalidValueBehavior { get; set; }Property Value
| Type | 
|---|
| InvalidInputBehavior | 
MaximumNumberDecimalDigits
Gets or sets the maximum number of decimal places to use in double value.
Declaration
public int MaximumNumberDecimalDigits { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Int32 | The default value is -1. | 
Remarks
When MaximumNumberDecimalDigits is 2, DoubleTextBox will not show more than 2 decimal digits. When Value does not has any decimal digits, DoubleTextBox will not display any decimal digits. If Value has more than 2 decimal places, rounded off value will be displayed. MinimumNumberDecimalDigits, MaximumNumberDecimalDigits can be used at the same time. When MinimumNumberDecimalDigits, MaximumNumberDecimalDigits and NumberDecimalDigits are specified, NumberDecimalDigits property takes higher precedence.
See Also
MaxValue
Gets or sets the maximum value of DoubleTextBox.
Declaration
public double MaxValue { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Double | It returns double value. The default value is double.MaxValue. | 
MinimumNumberDecimalDigits
Gets or sets the minimum number of decimal places to use in double value.
Declaration
public int MinimumNumberDecimalDigits { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Int32 | The default value is -1. | 
Remarks
When MinimumNumberDecimalDigits is 2, DoubleTextBox will show at least 2 decimal digits. When Value has less than 2 decimal digits, DoubleTextBox will display 2 trailing zeros after decimal point. If Value has more than 2 decimal places, all digits will be displayed. MinimumNumberDecimalDigits, MaximumNumberDecimalDigits can be used at the same time. When MinimumNumberDecimalDigits, MaximumNumberDecimalDigits and NumberDecimalDigits are specified, NumberDecimalDigits property takes higher precedence.
See Also
MinValue
Declaration
public double MinValue { get; set; }Property Value
| Type | 
|---|
| System.Double | 
NullValue
Gets or sets the null value of DoubleTextBox.
Declaration
public double? NullValue { get; set; }Property Value
| Type | 
|---|
| System.Nullable<System.Double> | 
NumberDecimalDigits
Gets or sets the number of decimal places to use in Double value.
Declaration
public int NumberDecimalDigits { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Int32 | The default value is -1. | 
Remarks
When NumberDecimalDigits is 2, DoubleTextBox will display exactly 2 decimal digits. If Value has no decimal digits, DoubleTextBox will display 2 trailing zeros after decimal point. If Value has more than 2 decimal places, rounded off value will be displayed. When MinimumNumberDecimalDigits, MaximumNumberDecimalDigits and NumberDecimalDigits are specified, NumberDecimalDigits property takes higher precedence.
See Also
NumberDecimalSeparator
Gets or Sets the NumberDecimalSeparator of DoubleTextBox text.
Declaration
public string NumberDecimalSeparator { get; set; }Property Value
| Type | Description | 
|---|---|
| System.String | A string contains the Special Charecter's of DoubleTextBox. The default is string.Empty. | 
NumberGroupSeparator
Gets or Sets the NumberGroupSeparator of DoubleTextBox.
Declaration
public string NumberGroupSeparator { get; set; }Property Value
| Type | Description | 
|---|---|
| System.String | A string contains the Special characters of DoubleTextBox. The default is string.Empty. | 
NumberGroupSizes
Gets or Sets number of System.Int32 values contained in NumberGroupSizes of DoubleTextBox.
Declaration
public Int32Collection NumberGroupSizes { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Windows.Media.Int32Collection | The number of System.Int32 values contained in the System.Windows.Media.Int32Collection. | 
pastecommand
Gets the value that represents the Paste command.
Declaration
public ICommand pastecommand { get; }Property Value
| Type | Description | 
|---|---|
| System.Windows.Input.ICommand | The command.Default ValuesKey Gesture Ctrl+V TextPaste. | 
ScrollInterval
Gets or sets the ScrollInterval of DoubleTextBox.
Declaration
public double ScrollInterval { get; set; }Property Value
| Type | 
|---|
| System.Double | 
Step
Gets or sets the step to increment or decrement the value of the control when the up or down button is clicked. This is a dependency property.
Declaration
public double Step { get; set; }Property Value
| Type | 
|---|
| System.Double | 
ValidationCompleted
Gets or sets the value that indicates whether the formatted input string is validated.
Declaration
public bool ValidationCompleted { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Boolean | returns true if validation has completed. Otherwise false. | 
ValidationValue
Gets or Sets the string that the formatted input string is being validated.
Declaration
public string ValidationValue { get; set; }Property Value
| Type | 
|---|
| System.String | 
Value
Gets or sets the value of DoubleTextBox.
Declaration
public double? Value { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Nullable<System.Double> | It returns double Value. The default value is null. | 
ValueValidation
Gets or sets the string validation constraint for DoubleTextBox control.
Declaration
public StringValidation ValueValidation { get; set; }Property Value
| Type | 
|---|
| StringValidation | 
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()FindChild(Visual, Type)
Find the visual of the child elements.
Declaration
public static Visual FindChild(Visual startingFrom, Type typeDescendant)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.Media.Visual | startingFrom | The parent visual, referenced as a System.Windows.DependencyObject | 
| System.Type | typeDescendant | It represents the type of child element. | 
Returns
| Type | Description | 
|---|---|
| System.Windows.Media.Visual | Returns the visual of the child. | 
OnApplyTemplate()
Is called when a control template is applied.
Declaration
public override void OnApplyTemplate()OnContextMenuOpening(ContextMenuEventArgs)
Invoked on ContextMenuOpening.
Declaration
protected override void OnContextMenuOpening(ContextMenuEventArgs e)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.Controls.ContextMenuEventArgs | e | Provides data for the context menu event. | 
Overrides
OnCreateAutomationPeer()
Returns the AutomationPeer of DoubleTextBox class.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()Returns
| Type | 
|---|
| System.Windows.Automation.Peers.AutomationPeer | 
OnGotFocus(RoutedEventArgs)
Called before System.Windows.UIElement.GotFocus event occurs.
Declaration
protected override void OnGotFocus(RoutedEventArgs e)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.RoutedEventArgs | e | The data for the event. | 
Overrides
OnInvalidValueBehaviorChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Called when InvalidValueBehavior property changed.
Declaration
public static void OnInvalidValueBehaviorChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyObject | obj | System.Windows.DependencyObject.when the InvalidValueBehavior object is changed. | 
| System.Windows.DependencyPropertyChangedEventArgs | args | System.Windows.DependencyPropertyChangedEventArgs. Provides data for property changed events. | 
OnInvalidValueBehaviorChanged(DependencyPropertyChangedEventArgs)
Called when InvalidValueBehavior property changed.
Declaration
protected void OnInvalidValueBehaviorChanged(DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyPropertyChangedEventArgs | args | System.Windows.DependencyPropertyChangedEventArgs. Provides data for property changed events. | 
OnIsExceedDecimalDigits(DependencyObject, DependencyPropertyChangedEventArgs)
Called when OnIsExceedDecimalDigits property changed.
Declaration
public static void OnIsExceedDecimalDigits(DependencyObject obj, DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyObject | obj | System.Windows.DependencyObject | 
| System.Windows.DependencyPropertyChangedEventArgs | args | System.Windows.DependencyPropertyChangedEventArgs. Provides data for property changed events. | 
OnIsExceedDecimalDigitsChanged(DependencyPropertyChangedEventArgs)
Called when OnIsExceedDecimalDigits property changed.
Declaration
protected void OnIsExceedDecimalDigitsChanged(DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyPropertyChangedEventArgs | args | System.Windows.DependencyPropertyChangedEventArgs. Provides data for property changed events. | 
OnKeyDown(KeyEventArgs)
Called when System.Windows.UIElement.KeyDown event occurs. Invoked when a System.Windows.Input.Keyboard.KeyDown attached routed event occurs.
Declaration
protected override void OnKeyDown(KeyEventArgs e)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.Input.KeyEventArgs | e | The data for the event. | 
OnLostFocus(RoutedEventArgs)
Called before System.Windows.UIElement.LostFocus event occurs.
Declaration
protected override void OnLostFocus(RoutedEventArgs e)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.RoutedEventArgs | e | The data for the event. | 
Overrides
OnMaximumNumberDecimalDigitsChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Called when OnMaximumNumberDecimalDigits property changed.
Declaration
public static void OnMaximumNumberDecimalDigitsChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyObject | obj | System.Windows.DependencyObject.when MaximumNumberDecimalDigits object is changed. | 
| System.Windows.DependencyPropertyChangedEventArgs | args | System.Windows.DependencyPropertyChangedEventArgs. Provides data for property changed events. | 
OnMaximumNumberDecimalDigitsChanged(DependencyPropertyChangedEventArgs)
Called when OnMaximumNumberDecimalDigits property changed.
Declaration
protected void OnMaximumNumberDecimalDigitsChanged(DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyPropertyChangedEventArgs | args | System.Windows.DependencyPropertyChangedEventArgs. Provides data for property changed events. | 
OnMaxValueChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Called when MaxValue property changed.
Declaration
public static void OnMaxValueChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyObject | obj | System.Windows.DependencyObject.When MaxValue object is changed. | 
| System.Windows.DependencyPropertyChangedEventArgs | args | System.Windows.DependencyPropertyChangedEventArgs. Provides data for property changed events. | 
OnMaxValueChanged(DependencyPropertyChangedEventArgs)
Called when the MaxValue property changed.
Declaration
protected void OnMaxValueChanged(DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyPropertyChangedEventArgs | args | System.Windows.DependencyPropertyChangedEventArgs. Provides data for property changed events. | 
OnMinimumNumberDecimalDigitsChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Called when OnMinimumNumberDecimalDigits property changed.
Declaration
public static void OnMinimumNumberDecimalDigitsChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyObject | obj | System.Windows.DependencyObject.When MinimumNumberDecimalDigits object is changed. | 
| System.Windows.DependencyPropertyChangedEventArgs | args | System.Windows.DependencyPropertyChangedEventArgs. Provides data for property changed events. | 
OnMinimumNumberDecimalDigitsChanged(DependencyPropertyChangedEventArgs)
Called when OnMinimumNumberDecimalDigits property changed.
Declaration
protected void OnMinimumNumberDecimalDigitsChanged(DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyPropertyChangedEventArgs | args | System.Windows.DependencyPropertyChangedEventArgs. Provides data for property changed events. | 
OnMinValueChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Called when MinValue property changed.
Declaration
public static void OnMinValueChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyObject | obj | System.Windows.DependencyObject.when MinValue object is changed. | 
| System.Windows.DependencyPropertyChangedEventArgs | args | System.Windows.DependencyPropertyChangedEventArgs. Provides data for property changed events. | 
OnMinValueChanged(DependencyPropertyChangedEventArgs)
Called when MinValue property changed.
Declaration
protected void OnMinValueChanged(DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyPropertyChangedEventArgs | args | System.Windows.DependencyPropertyChangedEventArgs. Provides data for property changed events. | 
OnMouseWheel(MouseWheelEventArgs)
Called before the System.Windows.UIElement.MouseWheel event occurs to provide handling for the event in a derived class without attaching a delegate.
Declaration
protected override void OnMouseWheel(MouseWheelEventArgs e)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.Input.MouseWheelEventArgs | e | A System.Windows.Input.MouseWheelEventArgs that contains the event data. | 
OnNullValueChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Called when NullValue property changed.
Declaration
public static void OnNullValueChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyObject | obj | System.Windows.DependencyObject.when the null value object is changed. | 
| System.Windows.DependencyPropertyChangedEventArgs | args | System.Windows.DependencyPropertyChangedEventArgs. Provides data for property changed events. | 
OnNullValueChanged(DependencyPropertyChangedEventArgs)
Called when NullValue property changed.
Declaration
protected void OnNullValueChanged(DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyPropertyChangedEventArgs | args | System.Windows.DependencyPropertyChangedEventArgs. Provides data for property changed events. | 
OnNumberDecimalDigitsChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Called when OnNumberDecimalDigits property changed.
Declaration
public static void OnNumberDecimalDigitsChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyObject | obj | System.Windows.DependencyObject.When OnNumberDecimalDigits object is changed. | 
| System.Windows.DependencyPropertyChangedEventArgs | args | System.Windows.DependencyPropertyChangedEventArgs. Provides data for property changed events. | 
OnNumberDecimalDigitsChanged(DependencyPropertyChangedEventArgs)
Called when OnNumberDecimalDigits property changed.
Declaration
protected void OnNumberDecimalDigitsChanged(DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyPropertyChangedEventArgs | args | System.Windows.DependencyPropertyChangedEventArgs. Provides data for property changed events. | 
OnNumberDecimalSeparatorChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Called when OnNumberDecimalSeparator property changed.
Declaration
public static void OnNumberDecimalSeparatorChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyObject | obj | System.Windows.DependencyObject.When OnNumberDecimalSeparator object is changed. | 
| System.Windows.DependencyPropertyChangedEventArgs | args | System.Windows.DependencyPropertyChangedEventArgs. Provides data for property changed events. | 
OnNumberDecimalSeparatorChanged(DependencyPropertyChangedEventArgs)
Declaration
protected void OnNumberDecimalSeparatorChanged(DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyPropertyChangedEventArgs | args | 
OnNumberGroupSeparatorChanged(DependencyPropertyChangedEventArgs)
Called when NumberGroupSeparator property changed.
Declaration
protected virtual void OnNumberGroupSeparatorChanged(DependencyPropertyChangedEventArgs e)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyPropertyChangedEventArgs | e | 
OnNumberGroupSizesChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Called when OnNumberGroupSizes property changed.
Declaration
public static void OnNumberGroupSizesChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyObject | obj | System.Windows.DependencyObject.When OnNumberGroupSizes object is changed. | 
| System.Windows.DependencyPropertyChangedEventArgs | args | System.Windows.DependencyPropertyChangedEventArgs. Provides data for property changed events. | 
OnNumberGroupSizesChanged(DependencyPropertyChangedEventArgs)
Called when OnNumberGroupSizes property changed.
Declaration
protected void OnNumberGroupSizesChanged(DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyPropertyChangedEventArgs | args | System.Windows.DependencyPropertyChangedEventArgs. Provides data for property changed events. | 
OnPreviewKeyDown(KeyEventArgs)
Invoked when a System.Windows.Input.Keyboard.PreviewKeyDown attached routed event occurs.
Declaration
protected override void OnPreviewKeyDown(KeyEventArgs e)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.Input.KeyEventArgs | e | Provides data for the System.Windows.UIElement.KeyUp and System.Windows.UIElement.KeyDown routed events, as well as related attached and Preview events. | 
Overrides
OnPreviewLostKeyboardFocus(KeyboardFocusChangedEventArgs)
Called when the keyboard is not focused on this element
Declaration
protected override void OnPreviewLostKeyboardFocus(KeyboardFocusChangedEventArgs e)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.Input.KeyboardFocusChangedEventArgs | e | Provides data for System.Windows.UIElement.LostKeyboardFocus and System.Windows.UIElement.GotKeyboardFocus routed events, as well as related attached and Preview events. | 
OnTextInput(TextCompositionEventArgs)
Called before the System.Windows.UIElement.TextInput event occurs.
Declaration
protected override void OnTextInput(TextCompositionEventArgs e)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.Input.TextCompositionEventArgs | e | Provides data about the event. | 
OnUseNullOptionChanged(DependencyPropertyChangedEventArgs)
Called when OnUseNullOption property changed.
Declaration
public override void OnUseNullOptionChanged(DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyPropertyChangedEventArgs | args | System.Windows.DependencyPropertyChangedEventArgs. Provides data for property changed events. | 
Overrides
OnValidationCompletedPropertyChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Called when ValidationCompleted property changed.
Declaration
public static void OnValidationCompletedPropertyChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyObject | obj | System.Windows.DependencyObject.when the ValidationCompleted object is changed. | 
| System.Windows.DependencyPropertyChangedEventArgs | args | System.Windows.DependencyPropertyChangedEventArgs. Provides data for property changed events. | 
OnValidationCompletedPropertyChanged(DependencyPropertyChangedEventArgs)
Called when ValidationCompleted property changed.
Declaration
protected void OnValidationCompletedPropertyChanged(DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyPropertyChangedEventArgs | args | System.Windows.DependencyPropertyChangedEventArgs. Provides data for property changed events. | 
OnValidationValueChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Called when ValidationValue property changed.
Declaration
public static void OnValidationValueChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyObject | obj | System.Windows.DependencyObject.when the ValidationValue object is changed. | 
| System.Windows.DependencyPropertyChangedEventArgs | args | System.Windows.DependencyPropertyChangedEventArgs. Provides data for property changed events. | 
OnValidationValueChanged(DependencyPropertyChangedEventArgs)
Called when ValidationValue property changed.
Declaration
protected void OnValidationValueChanged(DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyPropertyChangedEventArgs | args | System.Windows.DependencyPropertyChangedEventArgs. Provides data for property changed events. | 
OnValueChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Called when Value property changed.
Declaration
public static void OnValueChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyObject | obj | System.Windows.DependencyObject.When Value object is changed. | 
| System.Windows.DependencyPropertyChangedEventArgs | args | System.Windows.DependencyPropertyChangedEventArgs. rovides data for property changed events. | 
OnValueChanged(DependencyPropertyChangedEventArgs)
Called when Value property changed.
Declaration
protected void OnValueChanged(DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyPropertyChangedEventArgs | args | System.Windows.DependencyPropertyChangedEventArgs. Provides data for property changed events. | 
Events
InvalidValueBehaviorChanged
Occurs when the 
Declaration
public event PropertyChangedCallback InvalidValueBehaviorChangedEvent Type
| Type | 
|---|
| System.Windows.PropertyChangedCallback | 
MaximumNumberDecimalDigitsChanged
Occurs when the MaximumNumberDecimalDigitsProperty has been changed.
Declaration
public event PropertyChangedCallback MaximumNumberDecimalDigitsChangedEvent Type
| Type | 
|---|
| System.Windows.PropertyChangedCallback | 
MaxValueChanged
Occurs when the MaxValueProperty has been changed.
Declaration
public event PropertyChangedCallback MaxValueChangedEvent Type
| Type | 
|---|
| System.Windows.PropertyChangedCallback | 
MinimumNumberDecimalDigitsChanged
Occurs when the MinimumNumberDecimalDigitsProperty has been changed.
Declaration
public event PropertyChangedCallback MinimumNumberDecimalDigitsChangedEvent Type
| Type | 
|---|
| System.Windows.PropertyChangedCallback | 
MinValueChanged
Occurs when the MinValueProperty has been changed.
Declaration
public event PropertyChangedCallback MinValueChangedEvent Type
| Type | 
|---|
| System.Windows.PropertyChangedCallback | 
NumberDecimalDigitsChanged
Occurs when the NumberDecimalDigitsProperty has been changed.
Declaration
public event PropertyChangedCallback NumberDecimalDigitsChangedEvent Type
| Type | 
|---|
| System.Windows.PropertyChangedCallback | 
NumberDecimalSeparatorChanged
Occurs when the NumberDecimalSeparatorProperty has been changed.
Declaration
public event PropertyChangedCallback NumberDecimalSeparatorChangedEvent Type
| Type | 
|---|
| System.Windows.PropertyChangedCallback | 
NumberGroupSeparatorChanged
Occurs when the NumberGroupSeparatorProperty has been changed.
Declaration
public event PropertyChangedCallback NumberGroupSeparatorChangedEvent Type
| Type | 
|---|
| System.Windows.PropertyChangedCallback | 
NumberGroupSizesChanged
Occurs when the NumberGroupSizesProperty has been changed.
Declaration
public event PropertyChangedCallback NumberGroupSizesChangedEvent Type
| Type | 
|---|
| System.Windows.PropertyChangedCallback | 
Validated
Occurs after validated the value.
Declaration
public event EventHandler ValidatedEvent Type
| Type | 
|---|
| System.EventHandler | 
Validating
Occurs when validating the value.
Declaration
public event CancelEventHandler ValidatingEvent Type
| Type | 
|---|
| System.ComponentModel.CancelEventHandler | 
ValidationCompletedChanged
Occurs when the ValidationCompletedProperty has been changed.
Declaration
public event PropertyChangedCallback ValidationCompletedChangedEvent Type
| Type | 
|---|
| System.Windows.PropertyChangedCallback | 
ValidationValueChanged
Occurs when the ValueValidation has been changed.
Declaration
public event PropertyChangedCallback ValidationValueChangedEvent Type
| Type | 
|---|
| System.Windows.PropertyChangedCallback | 
ValueChanged
Occurs when the ValueProperty has been changed.
Declaration
public event PropertyChangedCallback ValueChangedEvent Type
| Type | 
|---|
| System.Windows.PropertyChangedCallback | 
ValueChanging
Occurs when the Value is changing.
Declaration
public event DoubleTextBox.ValueChangingEventHandler ValueChangingEvent Type
| Type | 
|---|
| DoubleTextBox.ValueChangingEventHandler | 
ValueValidationCompleted
Occurs when the ValueValidation has been completed.
Declaration
public event StringValidationCompletedEventHandler ValueValidationCompletedEvent Type
| Type | 
|---|
| StringValidationCompletedEventHandler | 
Explicit Interface Implementations
IDisposable.Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
void IDisposable.Dispose()