C# Class NClass.AssemblyImport.Controls.DataGridViewImageComboBoxEditingControl

Inheritance: ImageComboBox, IDataGridViewEditingControl
Afficher le fichier Open project: gbaychev/NClass Class Usage Examples

Méthodes publiques

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

Méthodes protégées

Méthode Description
OnSelectedIndexChanged ( EventArgs e ) : void

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

Method Details

ApplyCellStyleToEditingControl() public méthode

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

EditingControlWantsInputKey() public méthode

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.
Résultat bool

GetEditingControlFormattedValue() public méthode

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.
Résultat object

OnSelectedIndexChanged() protected méthode

Raises the E:System.Windows.Forms.ComboBox.SelectedIndexChanged event.
protected OnSelectedIndexChanged ( EventArgs e ) : void
e System.EventArgs An that contains the event data.
Résultat void

PrepareEditingControlForEdit() public méthode

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