Метод | Описание | |
---|---|---|
ApplyCellStyleToEditingControl ( System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle ) : void |
Copy the styles from the object provided across to this editing control
|
|
EditingControlWantsInputKey ( Keys key, bool dataGridViewWantsInputKey ) : bool |
Indicates if the editing control wants the input key specified
|
|
GetEditingControlFormattedValue ( DataGridViewDataErrorContexts context ) : object |
Returns the value being held in the editing control
|
|
NumericUpDownEditingControl ( ) : System |
Constructor to initialise a new editing control with the default numeric format of 2 decimal places.
|
|
PrepareEditingControlForEdit ( bool selectAll ) : void |
Prepares the editing control for editing
|
Метод | Описание | |
---|---|---|
OnValueChanged ( |
A handler to carry out repercussions of a changed value
|
public ApplyCellStyleToEditingControl ( System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle ) : void | ||
dataGridViewCellStyle | System.Windows.Forms.DataGridViewCellStyle | The source to copy from |
Результат | void |
public EditingControlWantsInputKey ( Keys key, bool dataGridViewWantsInputKey ) : bool | ||
key | Keys | The key in question |
dataGridViewWantsInputKey | bool | Whether the DataGridView /// wants the input key |
Результат | bool |
public GetEditingControlFormattedValue ( DataGridViewDataErrorContexts context ) : object | ||
context | DataGridViewDataErrorContexts | |
Результат | object |
public NumericUpDownEditingControl ( ) : System | ||
Результат | System |
protected OnValueChanged ( |
||
eventargs | Arguments relating to the event | |
Результат | void |
public PrepareEditingControlForEdit ( bool selectAll ) : void | ||
selectAll | bool | Whether to select all the content first, /// which can make it easier to replace as you type |
Результат | void |