C# Class WinRTXamlToolkit.Controls.NumericUpDown

Inheritance: Windows.UI.Xaml.Controls.Primitives.RangeBase
ファイルを表示 Open project: xyzzer/WinRTXamlToolkit

Public Properties

Property Type Description
DragSpeedProperty Windows.UI.Xaml.DependencyProperty
IsReadOnlyProperty Windows.UI.Xaml.DependencyProperty
ValueBarVisibilityProperty Windows.UI.Xaml.DependencyProperty
ValueFormatProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
Decrement ( ) : bool

Decrements the value by SmallChange.

Increment ( ) : bool
NumericUpDown ( ) : System

Initializes a new instance of the NumericUpDown class.

Protected Methods

Method 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

Method 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 method

Decrements the value by SmallChange.
public Decrement ( ) : bool
return bool

Increment() public method

public Increment ( ) : bool
return bool

NumericUpDown() public method

Initializes a new instance of the NumericUpDown class.
public NumericUpDown ( ) : System
return System

OnApplyTemplate() protected method

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
return void

OnValueChanged() protected method

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.
return void

Property Details

DragSpeedProperty public_oe static_oe property

DragSpeed Dependency Property
public static DependencyProperty,Windows.UI.Xaml DragSpeedProperty
return Windows.UI.Xaml.DependencyProperty

IsReadOnlyProperty public_oe static_oe property

IsReadOnly Dependency Property
public static DependencyProperty,Windows.UI.Xaml IsReadOnlyProperty
return Windows.UI.Xaml.DependencyProperty

ValueBarVisibilityProperty public_oe static_oe property

ValueBarVisibility Dependency Property
public static DependencyProperty,Windows.UI.Xaml ValueBarVisibilityProperty
return Windows.UI.Xaml.DependencyProperty

ValueFormatProperty public_oe static_oe property

ValueFormat Dependency Property
public static DependencyProperty,Windows.UI.Xaml ValueFormatProperty
return Windows.UI.Xaml.DependencyProperty