C# Class ScreenToGif.Controls.DoubleBox

Inheritance: System.Windows.Controls.TextBox
Show file Open project: dbremner/ScreenToGif

Public Properties

Property Type Description
MaximumProperty System.Windows.DependencyProperty
MinimumProperty System.Windows.DependencyProperty
UpdateOnInputProperty System.Windows.DependencyProperty
ValueChangedEvent System.Windows.RoutedEvent
ValueProperty System.Windows.DependencyProperty

Private Properties

Property Type Description
IsEntryAllowed bool
IsEntryAllowedInContext bool
IsTextAllowed bool
OnLostFocus void
OnMaximumPropertyChanged void
OnMinimumPropertyChanged void
OnPasting void
OnPreviewTextInput void
OnTextChanged void
OnUpdateOnInputPropertyChanged void
OnValuePropertyChanged void

Public Methods

Method Description
OnApplyTemplate ( ) : void
RaiseValueChangedEvent ( ) : void

Private Methods

Method Description
IsEntryAllowed ( TextBox textBox, string text ) : bool
IsEntryAllowedInContext ( TextBox textBox, string next ) : bool
IsTextAllowed ( string text ) : bool
OnLostFocus ( object sender, RoutedEventArgs e ) : void
OnMaximumPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnMinimumPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnPasting ( object sender, System.Windows.DataObjectPastingEventArgs e ) : void
OnPreviewTextInput ( object sender, System.Windows.Input.TextCompositionEventArgs e ) : void

Check and validade input based on the current text.

OnTextChanged ( object sender, System.Windows.Controls.TextChangedEventArgs e ) : void
OnUpdateOnInputPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnValuePropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Method Details

OnApplyTemplate() public method

public OnApplyTemplate ( ) : void
return void

RaiseValueChangedEvent() public method

public RaiseValueChangedEvent ( ) : void
return void

Property Details

MaximumProperty public static property

public static DependencyProperty,System.Windows MaximumProperty
return System.Windows.DependencyProperty

MinimumProperty public static property

public static DependencyProperty,System.Windows MinimumProperty
return System.Windows.DependencyProperty

UpdateOnInputProperty public static property

public static DependencyProperty,System.Windows UpdateOnInputProperty
return System.Windows.DependencyProperty

ValueChangedEvent public static property

Create a custom routed event by first registering a RoutedEventID, this event uses the bubbling routing strategy.
public static RoutedEvent,System.Windows ValueChangedEvent
return System.Windows.RoutedEvent

ValueProperty public static property

public static DependencyProperty,System.Windows ValueProperty
return System.Windows.DependencyProperty