C# Class Fluent.Spinner

Inheritance: RibbonControl
Datei anzeigen Open project: Gainedge/BetterExplorer Class Usage Examples

Public Properties

Property Type Description
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

Property Type Description
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

Public Methods

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

Protected Methods

Method Description
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.

Private Methods

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

Method Details

BindQuickAccessItem() protected method

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

CreateQuickAccessItem() public method

Gets control which represents shortcut item. This item MUST be syncronized with the original and send command to original one control.
public CreateQuickAccessItem ( ) : FrameworkElement
return System.Windows.FrameworkElement

OnApplyTemplate() public method

When overridden in a derived class, is invoked whenever application code or internal processes call M:System.Windows.FrameworkElement.ApplyTemplate.
public OnApplyTemplate ( ) : void
return void

OnKeyTipPressed() public method

Handles key tip pressed
public OnKeyTipPressed ( ) : void
return void

OnKeyUp() protected method

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

Property Details

DelayProperty public_oe static_oe property

Using a DependencyProperty as the backing store for Delay. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows DelayProperty
return System.Windows.DependencyProperty

FormatProperty public_oe static_oe property

Using a DependencyProperty as the backing store for Format. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows FormatProperty
return System.Windows.DependencyProperty

IncrementProperty public_oe static_oe property

Using a DependencyProperty as the backing store for Increment. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows IncrementProperty
return System.Windows.DependencyProperty

InputWidthProperty public_oe static_oe property

Using a DependencyProperty as the backing store for InputWidth. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows InputWidthProperty
return System.Windows.DependencyProperty

IntervalProperty public_oe static_oe property

Using a DependencyProperty as the backing store for Interval. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows IntervalProperty
return System.Windows.DependencyProperty

MaximumProperty public_oe static_oe property

Using a DependencyProperty as the backing store for Maximum. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows MaximumProperty
return System.Windows.DependencyProperty

MinimumProperty public_oe static_oe property

Using a DependencyProperty as the backing store for Minimum. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows MinimumProperty
return System.Windows.DependencyProperty

TextProperty public_oe static_oe property

Using a DependencyProperty as the backing store for Text. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows TextProperty
return System.Windows.DependencyProperty

ValueProperty public_oe static_oe property

Using a DependencyProperty as the backing store for Value. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows ValueProperty
return System.Windows.DependencyProperty