C# Class ScreenToGif.Controls.NumericUpDown

Numeric only control with up and down buttons to change the value.
Inheritance: System.Windows.Controls.Control
显示文件 Open project: dbremner/ScreenToGif

Public Properties

Property Type Description
MaximumProperty System.Windows.DependencyProperty
MinimumProperty System.Windows.DependencyProperty
StepProperty System.Windows.DependencyProperty
ValueProperty System.Windows.DependencyProperty

Private Properties

Property Type Description
IsTextDisallowed bool
NumericTextBox_ValueChanged void
NumericUpDown System
PastingEvent void
PropertyChangedCallback void
TextBox_KeyDown void
_DownButton_Click void
_UpButton_Click void
_textBox_LostFocus void
_textBox_MouseWheel void
_textBox_PreviewTextInput void
_textBox_TextChanged void

Public Methods

Method Description
OnApplyTemplate ( ) : void
SelectAll ( ) : void

Private Methods

Method Description
IsTextDisallowed ( string text ) : bool
NumericTextBox_ValueChanged ( object sender, EventArgs e ) : void
NumericUpDown ( ) : System
PastingEvent ( object sender, System.Windows.DataObjectPastingEventArgs e ) : void
PropertyChangedCallback ( DependencyObject dependencyObject, System.Windows.DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs ) : void
TextBox_KeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void
_DownButton_Click ( object sender, RoutedEventArgs e ) : void
_UpButton_Click ( object sender, RoutedEventArgs e ) : void
_textBox_LostFocus ( object sender, RoutedEventArgs e ) : void
_textBox_MouseWheel ( object sender, System.Windows.Input.MouseWheelEventArgs e ) : void
_textBox_PreviewTextInput ( object sender, System.Windows.Input.TextCompositionEventArgs e ) : void
_textBox_TextChanged ( object sender, System.Windows.Controls.TextChangedEventArgs e ) : void

Method Details

OnApplyTemplate() public method

public OnApplyTemplate ( ) : void
return void

SelectAll() public method

public SelectAll ( ) : void
return void

Property Details

MaximumProperty public_oe static_oe property

public static DependencyProperty,System.Windows MaximumProperty
return System.Windows.DependencyProperty

MinimumProperty public_oe static_oe property

public static DependencyProperty,System.Windows MinimumProperty
return System.Windows.DependencyProperty

StepProperty public_oe static_oe property

public static DependencyProperty,System.Windows StepProperty
return System.Windows.DependencyProperty

ValueProperty public_oe static_oe property

public static DependencyProperty,System.Windows ValueProperty
return System.Windows.DependencyProperty