menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class IntegerTextBox - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class IntegerTextBox

    Inheritance
    System.Object
    EditorBase
    IntegerTextBox
    Implements
    System.IDisposable
    Inherited Members
    EditorBase.ApplyNegativeForeground
    EditorBase.ApplyNegativeForegroundProperty
    EditorBase.ApplyZeroColor
    EditorBase.ApplyZeroColorProperty
    EditorBase.ContentElementVisibility
    EditorBase.ContentElementVisibilityProperty
    EditorBase.CornerRadius
    EditorBase.CornerRadiusProperty
    EditorBase.Culture
    EditorBase.CultureChanged
    EditorBase.CultureProperty
    EditorBase.EditorForeground
    EditorBase.EditorForegroundProperty
    EditorBase.EnableExtendedScrolling
    EditorBase.EnableExtendedScrollingProperty
    EditorBase.EnableFocusColors
    EditorBase.EnableFocusColorsProperty
    EditorBase.EnableRangeAdorner
    EditorBase.EnableRangeAdornerProperty
    EditorBase.EnableTouch
    EditorBase.EnableTouchProperty
    EditorBase.EnterToMoveNext
    EditorBase.EnterToMoveNextChanged
    EditorBase.EnterToMoveNextProperty
    EditorBase.FocusedBorderBrush
    EditorBase.FocusedBorderBrushProperty
    EditorBase.IsCaretAnimationEnabled
    EditorBase.IsCaretAnimationEnabledProperty
    EditorBase.IsNegative
    EditorBase.IsNegativeProperty
    EditorBase.IsNull
    EditorBase.IsNullProperty
    EditorBase.IsScrollingOnCircle
    EditorBase.IsScrollingOnCircleProperty
    EditorBase.IsUndoEnabled
    EditorBase.IsUndoEnabledChanged
    EditorBase.IsUndoEnabledProperty
    EditorBase.IsValueNegativeChanged
    EditorBase.IsZero
    EditorBase.IsZeroProperty
    EditorBase.MaskedText
    EditorBase.MaskedTextProperty
    EditorBase.MaxValidation
    EditorBase.MaxValidationProperty
    EditorBase.MaxValueOnExceedMaxDigit
    EditorBase.MaxValueOnExceedMaxDigitProperty
    EditorBase.MinValidation
    EditorBase.MinValidationProperty
    EditorBase.MinValueOnExceedMinDigit
    EditorBase.MinValueOnExceedMinDigitProperty
    EditorBase.NegativeForeground
    EditorBase.NegativeForegroundChanged
    EditorBase.NegativeForegroundProperty
    EditorBase.NumberFormat
    EditorBase.NumberFormatChanged
    EditorBase.NumberFormatProperty
    EditorBase.OnApplyNegativeForegroundChanged(DependencyObject, DependencyPropertyChangedEventArgs)
    EditorBase.OnApplyNegativeForegroundChanged(DependencyPropertyChangedEventArgs)
    EditorBase.OnApplyZeroColorChanged(DependencyObject, DependencyPropertyChangedEventArgs)
    EditorBase.OnApplyZeroColorChanged(DependencyPropertyChangedEventArgs)
    EditorBase.OnCornerRadiusChanged(DependencyObject, DependencyPropertyChangedEventArgs)
    EditorBase.OnCultureChanged(DependencyObject, DependencyPropertyChangedEventArgs)
    EditorBase.OnCultureChanged(DependencyPropertyChangedEventArgs)
    EditorBase.OnDrop(DragEventArgs)
    EditorBase.OnEnableExtendedScrollingChanged(DependencyObject, DependencyPropertyChangedEventArgs)
    EditorBase.OnEnableTouchChanged(DependencyObject, DependencyPropertyChangedEventArgs)
    EditorBase.OnEnterToMoveNextChanged(DependencyObject, DependencyPropertyChangedEventArgs)
    EditorBase.OnEnterToMoveNextChanged(DependencyPropertyChangedEventArgs)
    EditorBase.OnFocusedBackgroundChanged(DependencyObject, DependencyPropertyChangedEventArgs)
    EditorBase.OnFocusedBorderBrushChanged(DependencyObject, DependencyPropertyChangedEventArgs)
    EditorBase.OnFocusedForegroundChanged(DependencyObject, DependencyPropertyChangedEventArgs)
    EditorBase.OnForegroundChanged(DependencyObject, DependencyPropertyChangedEventArgs)
    EditorBase.OnForegroundChanged(DependencyPropertyChangedEventArgs)
    EditorBase.OnIsNegativeChanged(DependencyObject, DependencyPropertyChangedEventArgs)
    EditorBase.OnIsNegativeChanged(DependencyPropertyChangedEventArgs)
    EditorBase.OnIsNullChanged(DependencyObject, DependencyPropertyChangedEventArgs)
    EditorBase.OnIsNullChanged(DependencyPropertyChangedEventArgs)
    EditorBase.OnIsUndoEnabledChanged(DependencyObject, DependencyPropertyChangedEventArgs)
    EditorBase.OnIsUndoEnabledChanged(DependencyPropertyChangedEventArgs)
    EditorBase.OnIsZeroChanged(DependencyObject, DependencyPropertyChangedEventArgs)
    EditorBase.OnIsZeroChanged(DependencyPropertyChangedEventArgs)
    EditorBase.OnMinValidationChanged(DependencyObject, DependencyPropertyChangedEventArgs)
    EditorBase.OnNegativeForegroundChanged(DependencyObject, DependencyPropertyChangedEventArgs)
    EditorBase.OnNegativeForegroundChanged(DependencyPropertyChangedEventArgs)
    EditorBase.OnNumberFormatChanged(DependencyObject, DependencyPropertyChangedEventArgs)
    EditorBase.OnNumberFormatChanged(DependencyPropertyChangedEventArgs)
    EditorBase.OnPositiveForegroundChanged(DependencyObject, DependencyPropertyChangedEventArgs)
    EditorBase.OnPositiveForegroundChanged(DependencyPropertyChangedEventArgs)
    EditorBase.OnPreviewMouseLeftButtonDown(MouseButtonEventArgs)
    EditorBase.OnReadOnlyBackgroundChanged(DependencyObject, DependencyPropertyChangedEventArgs)
    EditorBase.OnTextSelectionOnFocusChanged(DependencyObject, DependencyPropertyChangedEventArgs)
    EditorBase.OnTextSelectionOnFocusChanged(DependencyPropertyChangedEventArgs)
    EditorBase.OnUseNullOptionChanged(DependencyObject, DependencyPropertyChangedEventArgs)
    EditorBase.OnWaterMarkTemplateChanged(DependencyObject, DependencyPropertyChangedEventArgs)
    EditorBase.OnWaterMarkTemplateChanged(DependencyPropertyChangedEventArgs)
    EditorBase.OnWaterMarkTextChanged(DependencyObject, DependencyPropertyChangedEventArgs)
    EditorBase.OnWaterMarkTextChanged(DependencyPropertyChangedEventArgs)
    EditorBase.OnWatermarkVisibilityPropertyChanged(DependencyObject, DependencyPropertyChangedEventArgs)
    EditorBase.OnWatermarkVisibilityPropertyChanged(DependencyPropertyChangedEventArgs)
    EditorBase.OnZeroNegativeColorChanged(DependencyObject, DependencyPropertyChangedEventArgs)
    EditorBase.OnZeroNegativeColorChanged(DependencyPropertyChangedEventArgs)
    EditorBase.PasteMode
    EditorBase.PasteModeProperty
    EditorBase.PositiveForeground
    EditorBase.PositiveForegroundProperty
    EditorBase.RangeAdornerBackground
    EditorBase.RangeAdornerBackgroundProperty
    EditorBase.ReadOnly
    EditorBase.ReadOnlyBackground
    EditorBase.ReadOnlyBackgroundProperty
    EditorBase.ReadOnlyProperty
    EditorBase.SelectionForeground
    EditorBase.SelectionForegroundProperty
    EditorBase.ShowSpinButton
    EditorBase.ShowSpinButtonProperty
    EditorBase.TextSelectionOnFocus
    EditorBase.TextSelectionOnFocusChanged
    EditorBase.TextSelectionOnFocusProperty
    EditorBase.UseNullOption
    EditorBase.UseNullOptionProperty
    EditorBase.WatermarkBackground
    EditorBase.WatermarkBackgroundProperty
    EditorBase.WatermarkOpacity
    EditorBase.WatermarkOpacityProperty
    EditorBase.WatermarkTemplate
    EditorBase.WaterMarkTemplateChanged
    EditorBase.WatermarkTemplateProperty
    EditorBase.WatermarkText
    EditorBase.WaterMarkTextChanged
    EditorBase.WatermarkTextForeground
    EditorBase.WatermarkTextForegroundProperty
    EditorBase.WatermarkTextIsVisible
    EditorBase.WatermarkTextIsVisibleProperty
    EditorBase.WatermarkTextProperty
    EditorBase.WatermarkVisibility
    EditorBase.WatermarkVisibilityProperty
    EditorBase.ZeroColor
    EditorBase.ZeroColorProperty
    Namespace: Syncfusion.Windows.Shared
    Assembly: Syncfusion.Shared.Wpf.dll
    Syntax
    [SkinType(SkinVisualStyle = Skin.Office2007Blue, Type = typeof(IntegerTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/Office2007BlueStyle.xaml")]
    [SkinType(SkinVisualStyle = Skin.Office2007Black, Type = typeof(IntegerTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/Office2007BlackStyle.xaml")]
    [SkinType(SkinVisualStyle = Skin.Office2007Silver, Type = typeof(IntegerTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/Office2007SilverStyle.xaml")]
    [SkinType(SkinVisualStyle = Skin.Office2010Blue, Type = typeof(IntegerTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/Office2010BlueStyle.xaml")]
    [SkinType(SkinVisualStyle = Skin.Office2010Black, Type = typeof(IntegerTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/Office2010BlackStyle.xaml")]
    [SkinType(SkinVisualStyle = Skin.Office2010Silver, Type = typeof(IntegerTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/Office2010SilverStyle.xaml")]
    [SkinType(SkinVisualStyle = Skin.Office2003, Type = typeof(IntegerTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/Office2003Style.xaml")]
    [SkinType(SkinVisualStyle = Skin.Blend, Type = typeof(IntegerTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/BlendStyle.xaml")]
    [SkinType(SkinVisualStyle = Skin.SyncOrange, Type = typeof(IntegerTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/SyncOrangeStyle.xaml")]
    [SkinType(SkinVisualStyle = Skin.ShinyRed, Type = typeof(IntegerTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/ShinyRedStyle.xaml")]
    [SkinType(SkinVisualStyle = Skin.ShinyBlue, Type = typeof(IntegerTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/ShinyBlueStyle.xaml")]
    [SkinType(SkinVisualStyle = Skin.Default, Type = typeof(IntegerTextBox), XamlResource = "/Syncfusion.Shared.Wpf;component/Controls/Editors/Themes/Generic.xaml")]
    [SkinType(SkinVisualStyle = Skin.VS2010, Type = typeof(IntegerTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/VS2010Style.xaml")]
    [SkinType(SkinVisualStyle = Skin.Metro, Type = typeof(IntegerTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/MetroStyle.xaml")]
    [SkinType(SkinVisualStyle = Skin.Transparent, Type = typeof(IntegerTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/TransparentStyle.xaml")]
    [SkinType(SkinVisualStyle = Skin.Office2013, Type = typeof(IntegerTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/Office2013Style.xaml")]
    public class IntegerTextBox : EditorBase, IDisposable

    Constructors

    IntegerTextBox()

    Initializes a new instance of the IntegerTextBox class

    Declaration
    public IntegerTextBox()

    Fields

    GroupSeperatorEnabledProperty

    Identifies the GroupSeperatorEnabled dependency property.

    Declaration
    public static readonly DependencyProperty GroupSeperatorEnabledProperty
    Field Value
    Type
    System.Windows.DependencyProperty
    Remarks

    The identifier for the GroupSeperatorEnabled dependency property.

    InvalidValueBehaviorProperty

    Identifies the InvalidValueBehavior dependency property.

    Declaration
    public static readonly DependencyProperty InvalidValueBehaviorProperty
    Field Value
    Type
    System.Windows.DependencyProperty
    Remarks

    The identifier for the InvalidValueBehavior dependency property.

    MaxValueProperty

    Identifies the MaxValue dependency property.

    Declaration
    public static readonly DependencyProperty MaxValueProperty
    Field Value
    Type
    System.Windows.DependencyProperty
    Remarks

    The identifier for the MaxValue dependency property.

    MinValueProperty

    Identifies the MinValue dependency property.

    Declaration
    public static readonly DependencyProperty MinValueProperty
    Field Value
    Type
    System.Windows.DependencyProperty
    Remarks

    The identifier for the MinValue dependency property.

    NullValueProperty

    Identifies the NullValue dependency property.

    Declaration
    public static readonly DependencyProperty NullValueProperty
    Field Value
    Type
    System.Windows.DependencyProperty
    Remarks

    The identifier for the NullValue dependency property.

    NumberGroupSeparatorProperty

    Identifies the NumberGroupSeparator dependency property.

    Declaration
    public static readonly DependencyProperty NumberGroupSeparatorProperty
    Field Value
    Type
    System.Windows.DependencyProperty
    Remarks

    The identifier for the NumberGroupSeparator dependency property.

    NumberGroupSizesProperty

    Identifies the NumberGroupSizes dependency property.

    Declaration
    public static readonly DependencyProperty NumberGroupSizesProperty
    Field Value
    Type
    System.Windows.DependencyProperty
    Remarks

    The identifier for the NumberGroupSizes dependency property.

    ScrollIntervalProperty

    Identifies the ScrollInterval dependency property.

    Declaration
    public static readonly DependencyProperty ScrollIntervalProperty
    Field Value
    Type
    System.Windows.DependencyProperty
    Remarks

    The identifier for the ScrollInterval dependency property.

    ValidationCompletedProperty

    Identifies the ValidationCompleted dependency property.

    Declaration
    public static readonly DependencyProperty ValidationCompletedProperty
    Field Value
    Type
    System.Windows.DependencyProperty
    Remarks

    The identifier for the ValidationCompleted dependency property.

    ValidationValueProperty

    Identifies the ValidationValue dependency property.

    Declaration
    public static readonly DependencyProperty ValidationValueProperty
    Field Value
    Type
    System.Windows.DependencyProperty
    Remarks

    The identifier for the ValidationValue dependency property.

    ValueProperty

    Identifies the Value dependency property.

    Declaration
    public static readonly DependencyProperty ValueProperty
    Field Value
    Type
    System.Windows.DependencyProperty
    Remarks

    The identifier for the Value dependency property.

    ValueValidationProperty

    Identifies the ValidationValue dependency property.

    Declaration
    public static readonly DependencyProperty ValueValidationProperty
    Field Value
    Type
    System.Windows.DependencyProperty
    Remarks

    The identifier for the ValidationValue dependency property.

    Properties

    copycommand

    Gets the value that represents the Copy command.

    Declaration
    public ICommand copycommand { get; }
    Property Value
    Type
    System.Windows.Input.ICommand

    cutcommand

    Gets the value that represents the Cut command.

    Declaration
    public ICommand cutcommand { get; }
    Property Value
    Type
    System.Windows.Input.ICommand

    GroupSeperatorEnabled

    Declaration
    public bool GroupSeperatorEnabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    Returns boolean value. The default value is true.

    InvalidValueBehavior

    Gets or sets the way of IntegerTextBox reaction on wrong input data.

    Declaration
    public InvalidInputBehavior InvalidValueBehavior { get; set; }
    Property Value
    Type
    InvalidInputBehavior

    MaxValue

    Gets or sets the maximum value of the IntegerTextBox.

    Declaration
    public long MaxValue { get; set; }
    Property Value
    Type Description
    System.Int64

    The integer value. The default value is MinValue.

    MinValue

    Gets or sets the minimum value of the IntegerTextBox.

    Declaration
    public long MinValue { get; set; }
    Property Value
    Type Description
    System.Int64

    The integer value. The default value is MinValue.

    NullValue

    Gets or sets the null value of IntegerTextBox.

    Declaration
    public long? NullValue { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int64>

    The integer value. The default value is null.

    NumberGroupSeparator

    Gets or Sets the value that indicates the number group separator of IntegerTextBox value.

    Declaration
    public string NumberGroupSeparator { get; set; }
    Property Value
    Type Description
    System.String

    A string contains the Special characters of Value. The default is string.Empty.

    NumberGroupSizes

    Gets or sets the value indicating the number group size of the Value.

    Declaration
    public Int32Collection NumberGroupSizes { get; set; }
    Property Value
    Type
    System.Windows.Media.Int32Collection

    pastecommand

    Gets the value that represents the Paste command.

    Declaration
    public ICommand pastecommand { get; }
    Property Value
    Type
    System.Windows.Input.ICommand

    ProgressFactor

    Gets the value indicating the progress factor of the IntegerTextBox.

    Declaration
    public double ProgressFactor { get; }
    Property Value
    Type
    System.Double

    ScrollInterval

    Gets or sets the scroll interval of IntegerTextBox.

    Declaration
    public int ScrollInterval { get; set; }
    Property Value
    Type Description
    System.Int32

    The integer value. The default value is 1.

    ValidationCompleted

    Declaration
    public bool ValidationCompleted { get; set; }
    Property Value
    Type Description
    System.Boolean

    Returns boolean value. The default value is false.

    ValidationValue

    Gets or Sets the string that the formatted input string is being validated.

    Declaration
    public string ValidationValue { get; set; }
    Property Value
    Type Description
    System.String

    A string containing the text contents of the text box. The default is an String.Empty

    Value

    Gets or sets the value of IntegerTextBox.

    Declaration
    public long? Value { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int64>

    The integer value. The default value is null.

    ValueValidation

    Gets or sets the value validation mode for IntegerTextBox.

    Declaration
    public StringValidation ValueValidation { get; set; }
    Property Value
    Type Description
    StringValidation

    The value validation mode. The Default value is StringValidation.OnLostFocus.

    Methods

    Dispose()

    Dispose the IntegerTextBox.

    Declaration
    public void Dispose()

    OnApplyTemplate()

    Invoked before the UI element displays in an application.

    Declaration
    public override void OnApplyTemplate()

    OnContextMenuOpening(ContextMenuEventArgs)

    Invoked when System.Windows.FrameworkElement.ContextMenuOpening event occurs.

    Declaration
    protected override void OnContextMenuOpening(ContextMenuEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Controls.ContextMenuEventArgs e

    The System.Windows.Controls.ContextMenuEventArgs that contains the event data.

    Overrides
    EditorBase.OnContextMenuOpening(ContextMenuEventArgs)

    OnGotFocus(RoutedEventArgs)

    Invoked before System.Windows.UIElement.GotFocus event occurs.

    Declaration
    protected override void OnGotFocus(RoutedEventArgs e)
    Parameters
    Type Name Description
    System.Windows.RoutedEventArgs e

    The System.Windows.RoutedEventArgs that contains the event data.

    Overrides
    EditorBase.OnGotFocus(RoutedEventArgs)

    OnInvalidValueBehaviorChanged(DependencyObject, DependencyPropertyChangedEventArgs)

    Invoked when InvalidValueBehavior property changed.

    Declaration
    public static void OnInvalidValueBehaviorChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj

    The obj contains a IntegerTextBox.

    System.Windows.DependencyPropertyChangedEventArgs args

    The System.Windows.DependencyPropertyChangedEventArgs that contains the event data.

    OnInvalidValueBehaviorChanged(DependencyPropertyChangedEventArgs)

    Invoked when InvalidValueBehavior property changed.

    Declaration
    protected void OnInvalidValueBehaviorChanged(DependencyPropertyChangedEventArgs args)
    Parameters
    Type Name Description
    System.Windows.DependencyPropertyChangedEventArgs args

    The System.Windows.DependencyPropertyChangedEventArgs that contains the event data.

    OnKeyDown(KeyEventArgs)

    Invoked when System.Windows.UIElement.KeyDown event occurs.

    Declaration
    protected override void OnKeyDown(KeyEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.KeyEventArgs e

    The System.Windows.Input.KeyEventArgs that contains the event data.

    OnLostFocus(RoutedEventArgs)

    Invoked before System.Windows.UIElement.LostFocus event occurs.

    Declaration
    protected override void OnLostFocus(RoutedEventArgs e)
    Parameters
    Type Name Description
    System.Windows.RoutedEventArgs e

    The System.Windows.RoutedEventArgs that contains the event data.

    Overrides
    EditorBase.OnLostFocus(RoutedEventArgs)

    OnMaxValueChanged(DependencyObject, DependencyPropertyChangedEventArgs)

    Invoked when the MaxValue property changed.

    Declaration
    public static void OnMaxValueChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj

    The obj contains a IntegerTextBox.

    System.Windows.DependencyPropertyChangedEventArgs args

    The System.Windows.DependencyPropertyChangedEventArgs that contains the event data.

    OnMaxValueChanged(DependencyPropertyChangedEventArgs)

    Invoked when the MaxValue property changed.

    Declaration
    protected void OnMaxValueChanged(DependencyPropertyChangedEventArgs args)
    Parameters
    Type Name Description
    System.Windows.DependencyPropertyChangedEventArgs args

    The System.Windows.DependencyPropertyChangedEventArgs that contains the event data.

    OnMinValueChanged(DependencyObject, DependencyPropertyChangedEventArgs)

    Invoked when the MinValue property changed.

    Declaration
    public static void OnMinValueChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj

    The obj contains a IntegerTextBox.

    System.Windows.DependencyPropertyChangedEventArgs args

    The System.Windows.DependencyPropertyChangedEventArgs that contains the event data.

    OnMinValueChanged(DependencyPropertyChangedEventArgs)

    Invoked when the MaxValue property changed.

    Declaration
    protected void OnMinValueChanged(DependencyPropertyChangedEventArgs args)
    Parameters
    Type Name Description
    System.Windows.DependencyPropertyChangedEventArgs args

    The System.Windows.DependencyPropertyChangedEventArgs that contains the event data.

    OnMouseWheel(MouseWheelEventArgs)

    Invoked when the System.Windows.UIElement.MouseWheel event occurs.

    Declaration
    protected override void OnMouseWheel(MouseWheelEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseWheelEventArgs e

    The System.Windows.Input.MouseWheelEventArgs that contains the event data.

    OnNullValueChanged(DependencyObject, DependencyPropertyChangedEventArgs)

    Invoked when NullValue property changed.

    Declaration
    public static void OnNullValueChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj

    The obj contains a IntegerTextBox.

    System.Windows.DependencyPropertyChangedEventArgs args

    The System.Windows.DependencyPropertyChangedEventArgs that contains the event data.

    OnNullValueChanged(DependencyPropertyChangedEventArgs)

    Invoked when NullValue property changed.

    Declaration
    protected void OnNullValueChanged(DependencyPropertyChangedEventArgs args)
    Parameters
    Type Name Description
    System.Windows.DependencyPropertyChangedEventArgs args

    The args contains value of IntegerTextBox.

    OnNumberGroupSeparatorChanged(DependencyPropertyChangedEventArgs)

    Invoked when NumberGroupSeparator property changed.

    Declaration
    protected virtual void OnNumberGroupSeparatorChanged(DependencyPropertyChangedEventArgs e)
    Parameters
    Type Name Description
    System.Windows.DependencyPropertyChangedEventArgs e

    The System.Windows.DependencyPropertyChangedEventArgs that contains the event data.

    OnNumberGroupSizesChanged(DependencyObject, DependencyPropertyChangedEventArgs)

    Invoked when NumberGroupSizes property changed.

    Declaration
    public static void OnNumberGroupSizesChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj

    The obj contains a IntegerTextBox.

    System.Windows.DependencyPropertyChangedEventArgs args

    The System.Windows.DependencyPropertyChangedEventArgs that contains the event data.

    OnNumberGroupSizesChanged(DependencyPropertyChangedEventArgs)

    Invoked when NumberGroupSizes property changed.

    Declaration
    protected void OnNumberGroupSizesChanged(DependencyPropertyChangedEventArgs args)
    Parameters
    Type Name Description
    System.Windows.DependencyPropertyChangedEventArgs args

    The System.Windows.DependencyPropertyChangedEventArgs that contains the event data.

    OnPreviewKeyDown(KeyEventArgs)

    Invoked when the System.Windows.Input.Keyboard.PreviewKeyDownEvent attached routed event occurs.

    Declaration
    protected override void OnPreviewKeyDown(KeyEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.KeyEventArgs e

    The System.Windows.Input.KeyEventArgs that contains the event data.

    Overrides
    EditorBase.OnPreviewKeyDown(KeyEventArgs)

    OnPreviewLostKeyboardFocus(KeyboardFocusChangedEventArgs)

    Invoked 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

    The System.Windows.Input.KeyboardFocusChangedEventArgs that contains the event data.

    OnTextInput(TextCompositionEventArgs)

    Invoked before the System.Windows.UIElement.TextInput event occurs.

    Declaration
    protected override void OnTextInput(TextCompositionEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.TextCompositionEventArgs e

    The System.Windows.Input.TextCompositionEventArgs that contains the event data.

    OnUseNullOptionChanged(DependencyPropertyChangedEventArgs)

    Invoked when UseNullOption property changed.

    Declaration
    public override void OnUseNullOptionChanged(DependencyPropertyChangedEventArgs args)
    Parameters
    Type Name Description
    System.Windows.DependencyPropertyChangedEventArgs args

    The System.Windows.DependencyPropertyChangedEventArgs that contains the event data.

    Overrides
    EditorBase.OnUseNullOptionChanged(DependencyPropertyChangedEventArgs)

    OnValidationCompletedPropertyChanged(DependencyObject, DependencyPropertyChangedEventArgs)

    Invoked when ValidationCompleted property changed.

    Declaration
    public static void OnValidationCompletedPropertyChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj

    The obj contains a IntegerTextBox.

    System.Windows.DependencyPropertyChangedEventArgs args

    The System.Windows.DependencyPropertyChangedEventArgs that contains the event data.

    OnValidationCompletedPropertyChanged(DependencyPropertyChangedEventArgs)

    Invoked when ValidationCompleted property changed.

    Declaration
    protected void OnValidationCompletedPropertyChanged(DependencyPropertyChangedEventArgs args)
    Parameters
    Type Name Description
    System.Windows.DependencyPropertyChangedEventArgs args

    The System.Windows.DependencyPropertyChangedEventArgs that contains the event data.

    OnValidationValueChanged(DependencyObject, DependencyPropertyChangedEventArgs)

    Invoked when ValidationValue property changed.

    Declaration
    public static void OnValidationValueChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj

    The obj contains a IntegerTextBox.

    System.Windows.DependencyPropertyChangedEventArgs args

    The System.Windows.DependencyPropertyChangedEventArgs that contains the event data.

    OnValidationValueChanged(DependencyPropertyChangedEventArgs)

    Invoked when NullValue property changed.

    Declaration
    protected void OnValidationValueChanged(DependencyPropertyChangedEventArgs args)
    Parameters
    Type Name Description
    System.Windows.DependencyPropertyChangedEventArgs args

    The System.Windows.DependencyPropertyChangedEventArgs that contains the event data.

    OnValueChanged(DependencyObject, DependencyPropertyChangedEventArgs)

    Invoked when the Value property changed.

    Declaration
    public static void OnValueChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj

    The obj contains a IntegerTextBox.

    System.Windows.DependencyPropertyChangedEventArgs args

    The System.Windows.DependencyPropertyChangedEventArgs that contains the event data.

    OnValueChanged(DependencyPropertyChangedEventArgs)

    Invoked when the Value property changed.

    Declaration
    protected void OnValueChanged(DependencyPropertyChangedEventArgs args)
    Parameters
    Type Name Description
    System.Windows.DependencyPropertyChangedEventArgs args

    The System.Windows.DependencyPropertyChangedEventArgs that contains the event data.

    Events

    InvalidValueBehaviorChanged

    Occurs when the InvalidValueBehavior property is changed.

    Declaration
    public event PropertyChangedCallback InvalidValueBehaviorChanged
    Event Type
    Type
    System.Windows.PropertyChangedCallback

    MaxValueChanged

    Occurs when the MaxValue property is changed.

    Declaration
    public event PropertyChangedCallback MaxValueChanged
    Event Type
    Type
    System.Windows.PropertyChangedCallback

    MinValueChanged

    Occurs when the MinValue property is changed.

    Declaration
    public event PropertyChangedCallback MinValueChanged
    Event Type
    Type
    System.Windows.PropertyChangedCallback

    NumberGroupSeparatorChanged

    Occurs when the NumberGroupSeparator property is changed.

    Declaration
    public event PropertyChangedCallback NumberGroupSeparatorChanged
    Event Type
    Type
    System.Windows.PropertyChangedCallback

    NumberGroupSizesChanged

    Occurs when the NumberGroupSizes property is changed.

    Declaration
    public event PropertyChangedCallback NumberGroupSizesChanged
    Event Type
    Type
    System.Windows.PropertyChangedCallback

    Validated

    Occurs after validating the Value.

    Declaration
    public event EventHandler Validated
    Event Type
    Type
    System.EventHandler

    Validating

    Occurs when validating the Value.

    Declaration
    public event CancelEventHandler Validating
    Event Type
    Type
    System.ComponentModel.CancelEventHandler

    ValidationCompletedChanged

    Occurs when the ValidationCompleted property is changed.

    Declaration
    public event PropertyChangedCallback ValidationCompletedChanged
    Event Type
    Type
    System.Windows.PropertyChangedCallback

    ValidationValueChanged

    Occurs when the ValidationValue property is changed.

    Declaration
    public event PropertyChangedCallback ValidationValueChanged
    Event Type
    Type
    System.Windows.PropertyChangedCallback

    ValueChanged

    Occurs when the Value property is changed.

    Declaration
    public event PropertyChangedCallback ValueChanged
    Event Type
    Type
    System.Windows.PropertyChangedCallback

    ValueValidationCompleted

    Occurs when the Value validation completed.

    Declaration
    public event StringValidationCompletedEventHandler ValueValidationCompleted
    Event Type
    Type
    StringValidationCompletedEventHandler

    Explicit Interface Implementations

    IDisposable.Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    Declaration
    void IDisposable.Dispose()

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved