C# Класс Fluent.Spinner

Наследование: RibbonControl
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
DelayProperty System.Windows.DependencyProperty
FormatProperty System.Windows.DependencyProperty
IncrementProperty System.Windows.DependencyProperty
InputWidthProperty System.Windows.DependencyProperty
IntervalProperty System.Windows.DependencyProperty
MaximumProperty System.Windows.DependencyProperty
MinimumProperty System.Windows.DependencyProperty
TextProperty System.Windows.DependencyProperty
ValueProperty System.Windows.DependencyProperty

Private Properties

Свойство Тип Описание
CoerceMaximum object
CoerceMinimum object
CoerceValue object
GetLimitedValue double
IsTemplateValid bool
OnButtonDownClick void
OnButtonUpClick void
OnFormatChanged void
OnMaximumChanged void
OnMinimumChanged void
OnTextBoxLostKeyboardFocus void
OnTextBoxPreviewKeyDown void
OnValueChanged void
Spinner System
TextBoxTextToValue void
ValueToTextBoxText void

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

Метод Описание
CreateQuickAccessItem ( ) : FrameworkElement

Gets control which represents shortcut item. This item MUST be syncronized with the original and send command to original one control.

OnApplyTemplate ( ) : void

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

OnKeyTipPressed ( ) : void

Handles key tip pressed

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

Метод Описание
BindQuickAccessItem ( FrameworkElement element ) : void

This method must be overriden to bind properties to use in quick access creating

OnKeyUp ( System.Windows.Input.KeyEventArgs e ) : void

Invoked when an unhandled System.Windows.Input.Keyboard.KeyUp�attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

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

Метод Описание
CoerceMaximum ( DependencyObject d, object basevalue ) : object
CoerceMinimum ( DependencyObject d, object basevalue ) : object
CoerceValue ( DependencyObject d, object basevalue ) : object
GetLimitedValue ( Spinner spinner, double value ) : double
IsTemplateValid ( ) : bool
OnButtonDownClick ( object sender, RoutedEventArgs e ) : void
OnButtonUpClick ( object sender, RoutedEventArgs e ) : void
OnFormatChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnMaximumChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnMinimumChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnTextBoxLostKeyboardFocus ( object sender, System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
OnTextBoxPreviewKeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void
OnValueChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
Spinner ( ) : System
TextBoxTextToValue ( ) : void
ValueToTextBoxText ( ) : void

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

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

This method must be overriden to bind properties to use in quick access creating
protected BindQuickAccessItem ( FrameworkElement element ) : void
element System.Windows.FrameworkElement Toolbar item
Результат void

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

Gets control which represents shortcut item. This item MUST be syncronized with the original and send command to original one control.
public CreateQuickAccessItem ( ) : FrameworkElement
Результат System.Windows.FrameworkElement

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

When overridden in a derived class, is invoked whenever application code or internal processes call M:System.Windows.FrameworkElement.ApplyTemplate.
public OnApplyTemplate ( ) : void
Результат void

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

Handles key tip pressed
public OnKeyTipPressed ( ) : void
Результат void

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

Invoked when an unhandled System.Windows.Input.Keyboard.KeyUp�attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
protected OnKeyUp ( System.Windows.Input.KeyEventArgs e ) : void
e System.Windows.Input.KeyEventArgs The System.Windows.Input.KeyEventArgs that contains the event data.
Результат void

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

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

Using a DependencyProperty as the backing store for Delay. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows DelayProperty
Результат System.Windows.DependencyProperty

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

Using a DependencyProperty as the backing store for Format. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows FormatProperty
Результат System.Windows.DependencyProperty

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

Using a DependencyProperty as the backing store for Increment. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows IncrementProperty
Результат System.Windows.DependencyProperty

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

Using a DependencyProperty as the backing store for InputWidth. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows InputWidthProperty
Результат System.Windows.DependencyProperty

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

Using a DependencyProperty as the backing store for Interval. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows IntervalProperty
Результат System.Windows.DependencyProperty

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

Using a DependencyProperty as the backing store for Maximum. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows MaximumProperty
Результат System.Windows.DependencyProperty

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

Using a DependencyProperty as the backing store for Minimum. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows MinimumProperty
Результат System.Windows.DependencyProperty

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

Using a DependencyProperty as the backing store for Text. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows TextProperty
Результат System.Windows.DependencyProperty

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

Using a DependencyProperty as the backing store for Value. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows ValueProperty
Результат System.Windows.DependencyProperty