Class NumericUpDown
  
  
  
  
    Inheritance
    System.Object
    NumericUpDown
   
  
  Assembly: Sdl.Desktop.Platform.Controls.dll
  
  
    public class NumericUpDown : Control
   
  Constructors
  
  
  
  
  
  
  
  Declaration
  
  Fields
  
  
  
  
  
  
  Declaration
  
    public static readonly DependencyProperty AllowPositiveNegativeSignProperty
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Windows.DependencyProperty | 
         | 
      
    
  
  
  
  
  
  
  Declaration
  
    public static readonly DependencyProperty ButtonsAlignmentProperty
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Windows.DependencyProperty | 
         | 
      
    
  
  
  
  
  
  
  Declaration
  
    public static readonly DependencyProperty CultureProperty
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Windows.DependencyProperty | 
         | 
      
    
  
  
  
  
  
  
  Declaration
  
    public static readonly DependencyProperty HideUpDownButtonsProperty
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Windows.DependencyProperty | 
         | 
      
    
  
  
  
  
  
  
  Declaration
  
    public static readonly DependencyProperty InterceptArrowKeysProperty
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Windows.DependencyProperty | 
         | 
      
    
  
  
  
  
  
  
  Declaration
  
    public static readonly DependencyProperty InterceptManualEnterProperty
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Windows.DependencyProperty | 
         | 
      
    
  
  
  
  
  
  
  Declaration
  
    public static readonly DependencyProperty InterceptMouseWheelProperty
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Windows.DependencyProperty | 
         | 
      
    
  
  
  
  
  
  
  Declaration
  
    public static readonly DependencyProperty IntervalProperty
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Windows.DependencyProperty | 
         | 
      
    
  
  
  
  
  
  
  Declaration
  
    public static readonly DependencyProperty IsReadOnlyProperty
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Windows.DependencyProperty | 
         | 
      
    
  
  
  
  
  
  
  Declaration
  
    public static readonly DependencyProperty MaximumProperty
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Windows.DependencyProperty | 
         | 
      
    
  
  
  
  
  
  
  Declaration
  
    public static readonly RoutedEvent MaximumReachedEvent
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Windows.RoutedEvent | 
         | 
      
    
  
  
  
  
  
  
  Declaration
  
    public static readonly DependencyProperty MinimumProperty
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Windows.DependencyProperty | 
         | 
      
    
  
  
  
  
  
  
  Declaration
  
    public static readonly RoutedEvent MinimumReachedEvent
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Windows.RoutedEvent | 
         | 
      
    
  
  
  
  
  
  
  Declaration
  
    public static readonly DependencyProperty StringFormatProperty
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Windows.DependencyProperty | 
         | 
      
    
  
  
  
  TextAlignmentProperty
  
  
  Declaration
  
    public static readonly DependencyProperty TextAlignmentProperty
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Windows.DependencyProperty | 
         | 
      
    
  
  
  
  
  
  
  Declaration
  
    public static readonly DependencyProperty TrackMouseWheelWhenMouseOverProperty
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Windows.DependencyProperty | 
         | 
      
    
  
  
  
  
  
  
  Declaration
  
    public static readonly DependencyProperty UpDownButtonsWidthProperty
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Windows.DependencyProperty | 
         | 
      
    
  
  
  
  
  
  
  Declaration
  
    public static readonly RoutedEvent ValueChangedEvent
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Windows.RoutedEvent | 
         | 
      
    
  
  
  
  
  
  
  Declaration
  
    public static readonly RoutedEvent ValueDecrementedEvent
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Windows.RoutedEvent | 
         | 
      
    
  
  
  
  
  
  
  Declaration
  
    public static readonly RoutedEvent ValueIncrementedEvent
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Windows.RoutedEvent | 
         | 
      
    
  
  
  
  
  
  
  Declaration
  
    public static readonly DependencyProperty ValueProperty
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Windows.DependencyProperty | 
         | 
      
    
  
  Properties
  
  
  
  
  
  
  
  Declaration
  
    public bool AllowPositiveNegativeSign { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         | 
      
    
  
  
  
  
  
  
  
  Declaration
  
    public ButtonsAlignment ButtonsAlignment { get; set; }
   
  Property Value
  
  
  
  
  
  
  
  Declaration
  
    public CultureInfo Culture { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Globalization.CultureInfo | 
         | 
      
    
  
  
  
  
  
  
  
  Declaration
  
    public bool HideUpDownButtons { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         | 
      
    
  
  
  
  
  
  
  
  Declaration
  
    public bool InterceptArrowKeys { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         | 
      
    
  
  
  
  
  
  
  
  Declaration
  
    public bool InterceptManualEnter { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         | 
      
    
  
  
  
  
  
  
  
  Declaration
  
    public bool InterceptMouseWheel { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         | 
      
    
  
  
  
  
  
  
  
  Declaration
  
    public double Interval { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double | 
         | 
      
    
  
  
  
  
  
  
  
  Declaration
  
    public bool IsReadOnly { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         | 
      
    
  
  
  
  
  
  
  
  Declaration
  
    public double Maximum { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double | 
         | 
      
    
  
  
  
  
  
  
  
  Declaration
  
    public double Minimum { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double | 
         | 
      
    
  
  
  
  
  
  
  
  Declaration
  
    public string StringFormat { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  
  
  
  TextAlignment
  
  
  Declaration
  
    public TextAlignment TextAlignment { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Windows.TextAlignment | 
         | 
      
    
  
  
  
  
  
  
  
  Declaration
  
    public bool TrackMouseWheelWhenMouseOver { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         | 
      
    
  
  
  
  
  
  
  
  Declaration
  
    public double UpDownButtonsWidth { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double | 
         | 
      
    
  
  
  
  
  
  
  
  Declaration
  
    public double? Value { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Nullable<System.Double> | 
         | 
      
    
  
  Methods
  
  
  
  
  
  
  
  Declaration
  
    public override void OnApplyTemplate()
   
  
  
  
  
  
  
  Declaration
  
    protected virtual void OnMaximumChanged(double oldMaximum, double newMaximum)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Double | 
        oldMaximum | 
         | 
      
      
        | System.Double | 
        newMaximum | 
         | 
      
    
  
  
  
  
  
  
  
  Declaration
  
    protected virtual void OnMinimumChanged(double oldMinimum, double newMinimum)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Double | 
        oldMinimum | 
         | 
      
      
        | System.Double | 
        newMinimum | 
         | 
      
    
  
  
  
  
  
  
  
  Declaration
  
    protected override void OnPreviewKeyDown(KeyEventArgs e)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Windows.Input.KeyEventArgs | 
        e | 
         | 
      
    
  
  
  
  
  
  
  
  Declaration
  
    protected override void OnPreviewKeyUp(KeyEventArgs e)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Windows.Input.KeyEventArgs | 
        e | 
         | 
      
    
  
  
  
  
  
  
  
  Declaration
  
    protected override void OnPreviewMouseWheel(MouseWheelEventArgs e)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Windows.Input.MouseWheelEventArgs | 
        e | 
         | 
      
    
  
  
  
  
  OnPreviewTextInput(Object, TextCompositionEventArgs)
  
  
  Declaration
  
    protected void OnPreviewTextInput(object sender, TextCompositionEventArgs e)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Object | 
        sender | 
         | 
      
      
        | System.Windows.Input.TextCompositionEventArgs | 
        e | 
         | 
      
    
  
  
  
  
  
  
  
  Declaration
  
    protected virtual void OnValueChanged(double? oldValue, double? newValue)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Nullable<System.Double> | 
        oldValue | 
         | 
      
      
        | System.Nullable<System.Double> | 
        newValue | 
         | 
      
    
  
  
  
  
  
  
  
  Declaration
  
  Events
  
  
  
  
  
  
  Declaration
  
    public event RoutedEventHandler MaximumReached
   
  Event Type
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Windows.RoutedEventHandler | 
         | 
      
    
  
  
  
  
  
  
  Declaration
  
    public event RoutedEventHandler MinimumReached
   
  Event Type
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Windows.RoutedEventHandler | 
         | 
      
    
  
  
  
  
  
  
  Declaration
  
    public event RoutedPropertyChangedEventHandler<double?> ValueChanged
   
  Event Type
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Windows.RoutedPropertyChangedEventHandler<System.Nullable<System.Double>> | 
         | 
      
    
  
  
  
  
  
  
  Declaration
  
    public event NumericUpDownChangedRoutedEventHandler ValueDecremented
   
  Event Type
  
  
  
  
  
  
  Declaration
  
    public event NumericUpDownChangedRoutedEventHandler ValueIncremented
   
  Event Type
  
  Extension Methods