C# Class SourceGrid.Cells.Editors.ComboBox

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

Méthodes publiques

Méthode Description
ComboBox ( Type p_Type ) : System

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

ComboBox ( Type p_Type, ICollection p_StandardValues, bool p_StandardValueExclusive ) : System

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

GetEditedValue ( ) : object

Returns the value inserted with the current editor control

SetEditValue ( object editValue ) : void

Set the specified value in the current editor control.

Méthodes protégées

Méthode Description
CreateControl ( ) : Control

Create the editor control

OnSendCharToEditor ( char key ) : void

Method Details

ComboBox() public méthode

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

ComboBox() public méthode

Construct a Model. Based on the Type specified the constructor populate AllowNull, DefaultValue, TypeConverter, StandardValues, StandardValueExclusive
public ComboBox ( Type p_Type, ICollection p_StandardValues, bool p_StandardValueExclusive ) : System
p_Type System.Type The type of this model
p_StandardValues ICollection
p_StandardValueExclusive bool True to not allow custom value, only the values specified in the standardvalues collection are allowed.
Résultat System

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

SetEditValue() public méthode

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