C# Class ICSharpCode.WpfDesign.Designer.Controls.InPlaceEditor

Supports editing Text in the Designer
Inheritance: System.Windows.Controls.Control
ファイルを表示 Open project: icsharpcode/WpfDesigner Class Usage Examples

Public Properties

Property Type Description
BindProperty System.Windows.DependencyProperty

Public Methods

Method Description
AbortEditing ( ) : void
InPlaceEditor ( DesignItem designItem ) : System
OnApplyTemplate ( ) : void
StartEditing ( ) : void

Protected Methods

Method Description
OnGotKeyboardFocus ( System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
OnKeyUp ( System.Windows.Input.KeyEventArgs e ) : void

Change is committed if the user releases the Escape Key.

OnLostKeyboardFocus ( System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void

Private Methods

Method Description
InPlaceEditor ( ) : System
editor_TextChanged ( object sender, System.Windows.Controls.TextChangedEventArgs e ) : void

Method Details

AbortEditing() public method

public AbortEditing ( ) : void
return void

InPlaceEditor() public method

public InPlaceEditor ( DesignItem designItem ) : System
designItem DesignItem
return System

OnApplyTemplate() public method

public OnApplyTemplate ( ) : void
return void

OnGotKeyboardFocus() protected method

protected OnGotKeyboardFocus ( System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
e System.Windows.Input.KeyboardFocusChangedEventArgs
return void

OnKeyUp() protected method

Change is committed if the user releases the Escape Key.
protected OnKeyUp ( System.Windows.Input.KeyEventArgs e ) : void
e System.Windows.Input.KeyEventArgs
return void

OnLostKeyboardFocus() protected method

protected OnLostKeyboardFocus ( System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
e System.Windows.Input.KeyboardFocusChangedEventArgs
return void

StartEditing() public method

public StartEditing ( ) : void
return void

Property Details

BindProperty public_oe static_oe property

This property is binded to the Text Property of the editor.
public static DependencyProperty,System.Windows BindProperty
return System.Windows.DependencyProperty