C# Класс WinRTXamlToolkit.Controls.NumericUpDown

Наследование: Windows.UI.Xaml.Controls.Primitives.RangeBase
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
DragSpeedProperty Windows.UI.Xaml.DependencyProperty
IsReadOnlyProperty Windows.UI.Xaml.DependencyProperty
ValueBarVisibilityProperty Windows.UI.Xaml.DependencyProperty
ValueFormatProperty Windows.UI.Xaml.DependencyProperty

Открытые методы

Метод Описание
Decrement ( ) : bool

Decrements the value by SmallChange.

Increment ( ) : bool
NumericUpDown ( ) : System

Initializes a new instance of the NumericUpDown class.

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

Decrement() публичный Метод

Decrements the value by SmallChange.
public Decrement ( ) : bool
Результат bool

Increment() публичный Метод

public Increment ( ) : bool
Результат bool

NumericUpDown() публичный Метод

Initializes a new instance of the NumericUpDown class.
public NumericUpDown ( ) : System
Результат System

OnApplyTemplate() защищенный Метод

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
Результат void

OnValueChanged() защищенный Метод

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.
Результат void

Описание свойств

DragSpeedProperty публичное статическое свойство

DragSpeed Dependency Property
public static DependencyProperty,Windows.UI.Xaml DragSpeedProperty
Результат Windows.UI.Xaml.DependencyProperty

IsReadOnlyProperty публичное статическое свойство

IsReadOnly Dependency Property
public static DependencyProperty,Windows.UI.Xaml IsReadOnlyProperty
Результат Windows.UI.Xaml.DependencyProperty

ValueBarVisibilityProperty публичное статическое свойство

ValueBarVisibility Dependency Property
public static DependencyProperty,Windows.UI.Xaml ValueBarVisibilityProperty
Результат Windows.UI.Xaml.DependencyProperty

ValueFormatProperty публичное статическое свойство

ValueFormat Dependency Property
public static DependencyProperty,Windows.UI.Xaml ValueFormatProperty
Результат Windows.UI.Xaml.DependencyProperty