C# Class WinRTXamlToolkit.Controls.NumericUpDown

Inheritance: Windows.UI.Xaml.Controls.Primitives.RangeBase
Afficher le fichier Open project: xyzzer/WinRTXamlToolkit

Méthodes publiques

Свойство Type Description
DragSpeedProperty Windows.UI.Xaml.DependencyProperty
IsReadOnlyProperty Windows.UI.Xaml.DependencyProperty
ValueBarVisibilityProperty Windows.UI.Xaml.DependencyProperty
ValueFormatProperty Windows.UI.Xaml.DependencyProperty

Méthodes publiques

Méthode Description
Decrement ( ) : bool

Decrements the value by SmallChange.

Increment ( ) : bool
NumericUpDown ( ) : System

Initializes a new instance of the NumericUpDown class.

Méthodes protégées

Méthode Description
OnApplyTemplate ( ) : void

Invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in your app. Override this method to influence the default post-template logic of a class.

OnValueChanged ( double oldValue, double newValue ) : void

Fires the ValueChanged routed event.

Private Methods

Méthode Description
ApplyManipulationDelta ( double delta ) : void
CoreWindowOnPointerReleased ( CoreWindow sender, PointerEventArgs args ) : void
EndDragging ( PointerRoutedEventArgs args ) : void
OnCoreWindowVisibilityChanged ( CoreWindow sender, VisibilityChangedEventArgs args ) : void
OnDecrementButtonClick ( object sender, RoutedEventArgs routedEventArgs ) : void
OnDecrementButtonIsPressedChanged ( object decrementButton, bool isPressed ) : void
OnDragOverlayManipulationDelta ( object sender, ManipulationDeltaRoutedEventArgs manipulationDeltaRoutedEventArgs ) : void
OnDragOverlayPointerCaptureLost ( object sender, PointerRoutedEventArgs args ) : void
OnDragOverlayPointerPressed ( object sender, PointerRoutedEventArgs e ) : void
OnDragOverlayPointerReleased ( object sender, PointerRoutedEventArgs args ) : void
OnDragOverlayTapped ( object sender, TappedRoutedEventArgs tappedRoutedEventArgs ) : void
OnGotFocus ( object sender, RoutedEventArgs routedEventArgs ) : void
OnIncrementButtonClick ( object sender, RoutedEventArgs routedEventArgs ) : void
OnIncrementButtonIsPressedChanged ( object incrementButton, bool isPressed ) : void
OnIsReadOnlyChanged ( ) : void

Provides derived classes an opportunity to handle changes to the IsReadOnly property.

OnIsReadOnlyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the IsReadOnly property.

OnLoaded ( object sender, RoutedEventArgs e ) : void
OnLostFocus ( object sender, RoutedEventArgs routedEventArgs ) : void
OnMouseDragged ( MouseDevice sender, MouseEventArgs args ) : void
OnPointerWheelChanged ( object sender, PointerRoutedEventArgs pointerRoutedEventArgs ) : void
OnUnloaded ( object sender, RoutedEventArgs e ) : void
OnValueBarSizeChanged ( object sender, SizeChangedEventArgs sizeChangedEventArgs ) : void
OnValueBarVisibilityChanged ( ) : void

Provides derived classes an opportunity to handle changes to the ValueBarVisibility property.

OnValueBarVisibilityChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the ValueBarVisibility property.

OnValueFormatChanged ( ) : void

Provides derived classes an opportunity to handle changes to the ValueFormat property.

OnValueFormatChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the ValueFormat property.

OnValueTextBoxGotFocus ( object sender, RoutedEventArgs routedEventArgs ) : void
OnValueTextBoxKeyDown ( object sender, KeyRoutedEventArgs e ) : void
OnValueTextBoxLostFocus ( object sender, RoutedEventArgs routedEventArgs ) : void
OnValueTextBoxPointerExited ( object sender, PointerRoutedEventArgs e ) : void
OnValueTextBoxTextChanged ( object sender, TextChangedEventArgs textChangedEventArgs ) : void
ResumeValueTextBoxTabStopAsync ( ) : void
SetValidIncrementDirection ( ) : void
SetValueAndUpdateValidDirections ( double value ) : bool
SuspendValueTextBoxTabStop ( ) : void
UpdateByDragging ( double dx, double dy ) : bool
UpdateIsReadOnlyDependants ( ) : void
UpdateValueBar ( ) : void
UpdateValueFromText ( ) : bool
UpdateValueText ( ) : void

Method Details

Decrement() public méthode

Decrements the value by SmallChange.
public Decrement ( ) : bool
Résultat bool

Increment() public méthode

public Increment ( ) : bool
Résultat bool

NumericUpDown() public méthode

Initializes a new instance of the NumericUpDown class.
public NumericUpDown ( ) : System
Résultat System

OnApplyTemplate() protected méthode

Invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in your app. Override this method to influence the default post-template logic of a class.
protected OnApplyTemplate ( ) : void
Résultat void

OnValueChanged() protected méthode

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

Property Details

DragSpeedProperty public_oe static_oe property

DragSpeed Dependency Property
public static DependencyProperty,Windows.UI.Xaml DragSpeedProperty
Résultat Windows.UI.Xaml.DependencyProperty

IsReadOnlyProperty public_oe static_oe property

IsReadOnly Dependency Property
public static DependencyProperty,Windows.UI.Xaml IsReadOnlyProperty
Résultat Windows.UI.Xaml.DependencyProperty

ValueBarVisibilityProperty public_oe static_oe property

ValueBarVisibility Dependency Property
public static DependencyProperty,Windows.UI.Xaml ValueBarVisibilityProperty
Résultat Windows.UI.Xaml.DependencyProperty

ValueFormatProperty public_oe static_oe property

ValueFormat Dependency Property
public static DependencyProperty,Windows.UI.Xaml ValueFormatProperty
Résultat Windows.UI.Xaml.DependencyProperty