C# Класс NClass.AssemblyImport.Controls.DataGridViewImageComboBoxEditingControl

Наследование: ImageComboBox, IDataGridViewEditingControl
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
ApplyCellStyleToEditingControl ( System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle ) : void

Changes the control's user interface (UI) to be consistent with the specified cell style.

EditingControlWantsInputKey ( Keys keyData, bool dataGridViewWantsInputKey ) : bool

Determines whether the specified key is a regular input key that the editing control should process or a special key that the T:System.Windows.Forms.DataGridView should process.

GetEditingControlFormattedValue ( DataGridViewDataErrorContexts context ) : object

Retrieves the formatted value of the cell.

PrepareEditingControlForEdit ( bool selectAll ) : void

Prepares the currently selected cell for editing.

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

Метод Описание
OnSelectedIndexChanged ( EventArgs e ) : void

Raises the E:System.Windows.Forms.ComboBox.SelectedIndexChanged event.

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

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

Changes the control's user interface (UI) to be consistent with the specified cell style.
public ApplyCellStyleToEditingControl ( System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle ) : void
dataGridViewCellStyle System.Windows.Forms.DataGridViewCellStyle The to use as the model for the UI.
Результат void

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

Determines whether the specified key is a regular input key that the editing control should process or a special key that the T:System.Windows.Forms.DataGridView should process.
public EditingControlWantsInputKey ( Keys keyData, bool dataGridViewWantsInputKey ) : bool
keyData Keys A that represents the key that was pressed.
dataGridViewWantsInputKey bool true when the wants to process the in ; otherwise, false.
Результат bool

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

Retrieves the formatted value of the cell.
public GetEditingControlFormattedValue ( DataGridViewDataErrorContexts context ) : object
context DataGridViewDataErrorContexts A bitwise combination of values that specifies the context in which the data is needed.
Результат object

OnSelectedIndexChanged() защищенный Метод

Raises the E:System.Windows.Forms.ComboBox.SelectedIndexChanged event.
protected OnSelectedIndexChanged ( EventArgs e ) : void
e System.EventArgs An that contains the event data.
Результат void

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

Prepares the currently selected cell for editing.
public PrepareEditingControlForEdit ( bool selectAll ) : void
selectAll bool true to select all of the cell's content; otherwise, false.
Результат void