C# Class MahApps.Metro.Controls.NumericUpDown

Inheritance: System.Windows.Controls.Control
Afficher le fichier Open project: OfficeDev/Office-IT-Pro-Deployment-Scripts Class Usage Examples

Méthodes publiques

Свойство Type Description
ButtonsAlignmentProperty System.Windows.DependencyProperty
CultureProperty DependencyProperty
DelayChangedEvent RoutedEvent
DelayProperty DependencyProperty
HideUpDownButtonsProperty DependencyProperty
InterceptArrowKeysProperty DependencyProperty
InterceptManualEnterProperty DependencyProperty
InterceptMouseWheelProperty DependencyProperty
IntervalProperty DependencyProperty
IsReadOnlyProperty DependencyProperty
MaximumProperty DependencyProperty
MaximumReachedEvent RoutedEvent
MinimumProperty DependencyProperty
MinimumReachedEvent RoutedEvent
SelectAllOnFocusProperty DependencyProperty
SpeedupProperty DependencyProperty
StringFormatProperty DependencyProperty
TextAlignmentProperty DependencyProperty
TrackMouseWheelWhenMouseOverProperty DependencyProperty
UpDownButtonsWidthProperty DependencyProperty
ValueChangedEvent RoutedEvent
ValueDecrementedEvent RoutedEvent
ValueIncrementedEvent RoutedEvent
ValueProperty DependencyProperty

Private Properties

Свойство Type Description
ChangeValueBy void
ChangeValueInternal void
ChangeValueInternal void
ChangeValueWithSpeedUp void
CoerceMaximum object
CoerceStringFormat object
CoerceValue object
EnableDisableDown void
EnableDisableUp void
EnableDisableUpDown void
InterceptManualEnterChangedCallback void
InternalSetText void
IntervalChanged void
IsReadOnlyPropertyChangedCallback void
NumericUpDown System
OnDelayChanged void
OnGotFocus void
OnMaximumChanged void
OnMinimumChanged void
OnSpeedupChanged void
OnStringFormatChanged void
OnTextBoxKeyDown void
OnTextBoxLostFocus void
OnTextChanged void
OnValueChanged void
OnValueTextBoxPaste void
RaiseChangeDelay void
RemoveStringFormatFromText string
ResetInternal void
SetRemoveStringFormatFromText void
ToggleReadOnlyMode void
TryFindScrollViewer ScrollViewer
ValidateDelay bool
ValidateText bool

Méthodes publiques

Méthode Description
OnApplyTemplate ( ) : void

When overridden in a derived class, is invoked whenever application code or internal processes call M:System.Windows.FrameworkElement.ApplyTemplate.

SelectAll ( ) : void

Méthodes protégées

Méthode Description
OnDelayChanged ( int oldDelay, int newDelay ) : void
OnMaximumChanged ( double oldMaximum, double newMaximum ) : void
OnMinimumChanged ( double oldMinimum, double newMinimum ) : void
OnPreviewKeyDown ( KeyEventArgs e ) : void
OnPreviewKeyUp ( KeyEventArgs e ) : void
OnPreviewMouseWheel ( MouseWheelEventArgs e ) : void
OnPreviewTextInput ( object sender, TextCompositionEventArgs e ) : void
OnSpeedupChanged ( bool oldSpeedup, bool newSpeedup ) : void
OnValueChanged ( double oldValue, double newValue ) : void

Raises the ValueChanged routed event.

Private Methods

Méthode Description
ChangeValueBy ( double difference ) : void
ChangeValueInternal ( bool addInterval ) : void
ChangeValueInternal ( double interval ) : void
ChangeValueWithSpeedUp ( bool toPositive ) : void
CoerceMaximum ( DependencyObject d, object value ) : object
CoerceStringFormat ( DependencyObject d, object basevalue ) : object
CoerceValue ( DependencyObject d, object value ) : object
EnableDisableDown ( ) : void
EnableDisableUp ( ) : void
EnableDisableUpDown ( ) : void
InterceptManualEnterChangedCallback ( DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e ) : void
InternalSetText ( double newValue ) : void
IntervalChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
IsReadOnlyPropertyChangedCallback ( DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e ) : void
NumericUpDown ( ) : System
OnDelayChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnGotFocus ( object sender, RoutedEventArgs e ) : void

Called when this element or any below gets focus.

OnMaximumChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnMinimumChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnSpeedupChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnStringFormatChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnTextBoxKeyDown ( object sender, KeyEventArgs e ) : void
OnTextBoxLostFocus ( object sender, RoutedEventArgs e ) : void
OnTextChanged ( object sender, TextChangedEventArgs e ) : void
OnValueChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnValueTextBoxPaste ( object sender, DataObjectPastingEventArgs e ) : void
RaiseChangeDelay ( ) : void
RemoveStringFormatFromText ( string text ) : string
ResetInternal ( ) : void
SetRemoveStringFormatFromText ( string stringFormat ) : void
ToggleReadOnlyMode ( bool isReadOnly ) : void
TryFindScrollViewer ( ) : ScrollViewer
ValidateDelay ( object value ) : bool
ValidateText ( string text, double &convertedValue ) : bool

Method Details

OnApplyTemplate() public méthode

When overridden in a derived class, is invoked whenever application code or internal processes call M:System.Windows.FrameworkElement.ApplyTemplate.
public OnApplyTemplate ( ) : void
Résultat void

OnDelayChanged() protected méthode

protected OnDelayChanged ( int oldDelay, int newDelay ) : void
oldDelay int
newDelay int
Résultat void

OnMaximumChanged() protected méthode

protected OnMaximumChanged ( double oldMaximum, double newMaximum ) : void
oldMaximum double
newMaximum double
Résultat void

OnMinimumChanged() protected méthode

protected OnMinimumChanged ( double oldMinimum, double newMinimum ) : void
oldMinimum double
newMinimum double
Résultat void

OnPreviewKeyDown() protected méthode

protected OnPreviewKeyDown ( KeyEventArgs e ) : void
e KeyEventArgs
Résultat void

OnPreviewKeyUp() protected méthode

protected OnPreviewKeyUp ( KeyEventArgs e ) : void
e KeyEventArgs
Résultat void

OnPreviewMouseWheel() protected méthode

protected OnPreviewMouseWheel ( MouseWheelEventArgs e ) : void
e MouseWheelEventArgs
Résultat void

OnPreviewTextInput() protected méthode

protected OnPreviewTextInput ( object sender, TextCompositionEventArgs e ) : void
sender object
e TextCompositionEventArgs
Résultat void

OnSpeedupChanged() protected méthode

protected OnSpeedupChanged ( bool oldSpeedup, bool newSpeedup ) : void
oldSpeedup bool
newSpeedup bool
Résultat void

OnValueChanged() protected méthode

Raises the ValueChanged routed event.
protected OnValueChanged ( double oldValue, double newValue ) : void
oldValue double /// Old value of the property ///
newValue double /// New value of the property ///
Résultat void

SelectAll() public méthode

public SelectAll ( ) : void
Résultat void

Property Details

ButtonsAlignmentProperty public_oe static_oe property

public static DependencyProperty,System.Windows ButtonsAlignmentProperty
Résultat System.Windows.DependencyProperty

CultureProperty public_oe static_oe property

public static DependencyProperty CultureProperty
Résultat DependencyProperty

DelayChangedEvent public_oe static_oe property

public static RoutedEvent DelayChangedEvent
Résultat RoutedEvent

DelayProperty public_oe static_oe property

public static DependencyProperty DelayProperty
Résultat DependencyProperty

HideUpDownButtonsProperty public_oe static_oe property

public static DependencyProperty HideUpDownButtonsProperty
Résultat DependencyProperty

InterceptArrowKeysProperty public_oe static_oe property

public static DependencyProperty InterceptArrowKeysProperty
Résultat DependencyProperty

InterceptManualEnterProperty public_oe static_oe property

public static DependencyProperty InterceptManualEnterProperty
Résultat DependencyProperty

InterceptMouseWheelProperty public_oe static_oe property

public static DependencyProperty InterceptMouseWheelProperty
Résultat DependencyProperty

IntervalProperty public_oe static_oe property

public static DependencyProperty IntervalProperty
Résultat DependencyProperty

IsReadOnlyProperty public_oe static_oe property

public static DependencyProperty IsReadOnlyProperty
Résultat DependencyProperty

MaximumProperty public_oe static_oe property

public static DependencyProperty MaximumProperty
Résultat DependencyProperty

MaximumReachedEvent public_oe static_oe property

public static RoutedEvent MaximumReachedEvent
Résultat RoutedEvent

MinimumProperty public_oe static_oe property

public static DependencyProperty MinimumProperty
Résultat DependencyProperty

MinimumReachedEvent public_oe static_oe property

public static RoutedEvent MinimumReachedEvent
Résultat RoutedEvent

SelectAllOnFocusProperty public_oe static_oe property

public static DependencyProperty SelectAllOnFocusProperty
Résultat DependencyProperty

SpeedupProperty public_oe static_oe property

public static DependencyProperty SpeedupProperty
Résultat DependencyProperty

StringFormatProperty public_oe static_oe property

public static DependencyProperty StringFormatProperty
Résultat DependencyProperty

TextAlignmentProperty public_oe static_oe property

public static DependencyProperty TextAlignmentProperty
Résultat DependencyProperty

TrackMouseWheelWhenMouseOverProperty public_oe static_oe property

public static DependencyProperty TrackMouseWheelWhenMouseOverProperty
Résultat DependencyProperty

UpDownButtonsWidthProperty public_oe static_oe property

public static DependencyProperty UpDownButtonsWidthProperty
Résultat DependencyProperty

ValueChangedEvent public_oe static_oe property

public static RoutedEvent ValueChangedEvent
Résultat RoutedEvent

ValueDecrementedEvent public_oe static_oe property

public static RoutedEvent ValueDecrementedEvent
Résultat RoutedEvent

ValueIncrementedEvent public_oe static_oe property

public static RoutedEvent ValueIncrementedEvent
Résultat RoutedEvent

ValueProperty public_oe static_oe property

public static DependencyProperty ValueProperty
Résultat DependencyProperty