C# Class ZForge.Controls.TreeViewAdv.Tree.NodeControls.EditableControl

Inheritance: InteractiveControl
Datei anzeigen Open project: zhuangyy/Motion Class Usage Examples

Private Properties

Property Type Description
EditorKeyDown void
EditorValidating void
HideEditor void
TimerTick void

Public Methods

Method Description
ApplyChanges ( ) : void
BeginEdit ( ) : void
EndEdit ( bool applyChanges ) : void
MouseDoubleClick ( TreeNodeAdvMouseEventArgs args ) : void
MouseDown ( TreeNodeAdvMouseEventArgs args ) : void
MouseUp ( TreeNodeAdvMouseEventArgs args ) : void
SetEditorBounds ( EditorContext context ) : void
UpdateEditor ( Control control ) : void

Protected Methods

Method Description
BeginEditByUser ( ) : void
CalculateEditorSize ( EditorContext context ) : Size
CanEdit ( TreeNodeAdv node ) : bool
CreateEditor ( TreeNodeAdv node ) : Control
Dispose ( bool disposing ) : void
DoApplyChanges ( TreeNodeAdv node, Control editor ) : void
EditableControl ( ) : System
OnEditorHided ( ) : void
OnEditorShowing ( CancelEventArgs args ) : void

Private Methods

Method Description
EditorKeyDown ( object sender, KeyEventArgs e ) : void
EditorValidating ( object sender, CancelEventArgs e ) : void
HideEditor ( Control editor ) : void
TimerTick ( object sender, EventArgs e ) : void

Method Details

ApplyChanges() public method

public ApplyChanges ( ) : void
return void

BeginEdit() public method

public BeginEdit ( ) : void
return void

BeginEditByUser() protected method

protected BeginEditByUser ( ) : void
return void

CalculateEditorSize() protected abstract method

protected abstract CalculateEditorSize ( EditorContext context ) : Size
context EditorContext
return System.Drawing.Size

CanEdit() protected method

protected CanEdit ( TreeNodeAdv node ) : bool
node TreeNodeAdv
return bool

CreateEditor() protected abstract method

protected abstract CreateEditor ( TreeNodeAdv node ) : Control
node TreeNodeAdv
return System.Windows.Forms.Control

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

DoApplyChanges() protected abstract method

protected abstract DoApplyChanges ( TreeNodeAdv node, Control editor ) : void
node TreeNodeAdv
editor System.Windows.Forms.Control
return void

EditableControl() protected method

protected EditableControl ( ) : System
return System

EndEdit() public method

public EndEdit ( bool applyChanges ) : void
applyChanges bool
return void

MouseDoubleClick() public method

public MouseDoubleClick ( TreeNodeAdvMouseEventArgs args ) : void
args TreeNodeAdvMouseEventArgs
return void

MouseDown() public method

public MouseDown ( TreeNodeAdvMouseEventArgs args ) : void
args TreeNodeAdvMouseEventArgs
return void

MouseUp() public method

public MouseUp ( TreeNodeAdvMouseEventArgs args ) : void
args TreeNodeAdvMouseEventArgs
return void

OnEditorHided() protected method

protected OnEditorHided ( ) : void
return void

OnEditorShowing() protected method

protected OnEditorShowing ( CancelEventArgs args ) : void
args CancelEventArgs
return void

SetEditorBounds() public method

public SetEditorBounds ( EditorContext context ) : void
context EditorContext
return void

UpdateEditor() public method

public UpdateEditor ( Control control ) : void
control System.Windows.Forms.Control
return void