C# Class AutoSquirrel.EditableTextBlock

Inheritance: System.Windows.Controls.Control
Show file Open project: tenacious/Auto.Squirrel

Public Properties

Property Type Description
TextBlockBackgroundColorProperty System.Windows.DependencyProperty
TextBlockForegroundColorProperty System.Windows.DependencyProperty
TextBoxBackgroundColorProperty System.Windows.DependencyProperty
TextBoxForegroundColorProperty System.Windows.DependencyProperty
TextProperty System.Windows.DependencyProperty

Public Methods

Method Description
OnApplyTemplate ( ) : void

Protected Methods

Method Description
OnKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
OnMouseDoubleClick ( System.Windows.Input.MouseButtonEventArgs e ) : void

Private Methods

Method Description
EditableTextBlock ( ) : System
OnTextBoxLostFocus ( object sender, RoutedEventArgs e ) : void

Method Details

OnApplyTemplate() public method

public OnApplyTemplate ( ) : void
return void

OnKeyDown() protected method

protected OnKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
e System.Windows.Input.KeyEventArgs
return void

OnMouseDoubleClick() protected method

protected OnMouseDoubleClick ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs
return void

Property Details

TextBlockBackgroundColorProperty public static property

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

TextBlockForegroundColorProperty public static property

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

TextBoxBackgroundColorProperty public static property

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

TextBoxForegroundColorProperty public static property

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

TextProperty public static property

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