C# 클래스 SourceGrid.Cells.Editors.TextBox

상속: SourceGrid.Cells.Editors.EditorControlBase
파일 보기 프로젝트 열기: zhuangyy/Motion 1 사용 예제들

공개 메소드들

메소드 설명
GetEditedValue ( ) : object

Returns the value inserted with the current editor control

SetEditValue ( object editValue ) : void

Set the specified value in the current editor control.

TextBox ( Type p_Type ) : System

Construct a Model. Based on the Type specified the constructor populate AllowNull, DefaultValue, TypeConverter, StandardValues, StandardValueExclusive

보호된 메소드들

메소드 설명
CreateControl ( ) : Control

Create the editor control

OnSendCharToEditor ( char key ) : void
OnStartingEdit ( CellContext cellContext, Control editorControl ) : void

This method is called just before the edit start. You can use this method to customize the editor with the cell informations.

메소드 상세

CreateControl() 보호된 메소드

Create the editor control
protected CreateControl ( ) : Control
리턴 System.Windows.Forms.Control

GetEditedValue() 공개 메소드

Returns the value inserted with the current editor control
public GetEditedValue ( ) : object
리턴 object

OnSendCharToEditor() 보호된 메소드

protected OnSendCharToEditor ( char key ) : void
key char
리턴 void

OnStartingEdit() 보호된 메소드

This method is called just before the edit start. You can use this method to customize the editor with the cell informations.
protected OnStartingEdit ( CellContext cellContext, Control editorControl ) : void
cellContext CellContext
editorControl System.Windows.Forms.Control
리턴 void

SetEditValue() 공개 메소드

Set the specified value in the current editor control.
public SetEditValue ( object editValue ) : void
editValue object
리턴 void

TextBox() 공개 메소드

Construct a Model. Based on the Type specified the constructor populate AllowNull, DefaultValue, TypeConverter, StandardValues, StandardValueExclusive
public TextBox ( Type p_Type ) : System
p_Type System.Type The type of this model
리턴 System