Свойство | Type | Description | |
---|---|---|---|
CoerceValue | object | ||
InitializeCommands | void | ||
LimitValueByBounds | decimal | ||
OnValueChanged | void | ||
SpinnerControl | System |
Méthode | Description | |
---|---|---|
OnDecrease ( ) : void | ||
OnDecreaseCommand ( Object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void | ||
OnIncrease ( ) : void | ||
OnIncreaseCommand ( Object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void | ||
OnValueChanged ( RoutedPropertyChangedEventArgs |
Raise the ValueChanged event. Derived classes can use this.
|
|
UpdateFormattedValue ( decimal newValue ) : void |
Update the formatted value.
|
Méthode | Description | |
---|---|---|
CoerceValue ( |
||
InitializeCommands ( ) : void |
Since we're using RoutedCommands for the up/down buttons, we need to register them with the command manager so we can tie the events to callbacks in the control.
|
|
LimitValueByBounds ( decimal newValue, |
||
OnValueChanged ( |
If the value changes, update the text box that displays the Value property to the consumer.
|
|
SpinnerControl ( ) : System |
protected static OnDecreaseCommand ( Object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void | ||
sender | Object | |
e | System.Windows.Input.ExecutedRoutedEventArgs | |
Résultat | void |
protected static OnIncreaseCommand ( Object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void | ||
sender | Object | |
e | System.Windows.Input.ExecutedRoutedEventArgs | |
Résultat | void |
protected OnValueChanged ( RoutedPropertyChangedEventArgs |
||
e | RoutedPropertyChangedEventArgs |
|
Résultat | void |
protected UpdateFormattedValue ( decimal newValue ) : void | ||
newValue | decimal | |
Résultat | void |