C# Class SourceGrid.Cells.Editors.TextBoxButton

Inheritance: SourceGrid.Cells.Editors.EditorControlBase
Afficher le fichier Open project: zhuangyy/Motion Class Usage Examples

Méthodes publiques

Méthode Description
GetEditedValue ( ) : object

Returns the value inserted with the current editor control

SetEditValue ( object editValue ) : void

Set the specified value in the current editor control.

TextBoxButton ( Type p_Type ) : System

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

Méthodes protégées

Méthode Description
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.

Method Details

CreateControl() protected méthode

Create the editor control
protected CreateControl ( ) : Control
Résultat System.Windows.Forms.Control

GetEditedValue() public méthode

Returns the value inserted with the current editor control
public GetEditedValue ( ) : object
Résultat object

OnSendCharToEditor() protected méthode

protected OnSendCharToEditor ( char key ) : void
key char
Résultat void

OnStartingEdit() protected méthode

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
Résultat void

SetEditValue() public méthode

Set the specified value in the current editor control.
public SetEditValue ( object editValue ) : void
editValue object
Résultat void

TextBoxButton() public méthode

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