C# Класс SourceGrid.Cells.Editors.ComboBox

Наследование: SourceGrid.Cells.Editors.EditorControlBase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
CreateControl ( ) : Control

Create the editor control

OnSendCharToEditor ( char key ) : void

Описание методов

ComboBox() публичный Метод

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
Результат System

ComboBox() публичный Метод

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.
Результат System

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

SetEditValue() публичный Метод

Set the specified value in the current editor control.
public SetEditValue ( object editValue ) : void
editValue object
Результат void