Defines a NumericUpDown cell type for the System.Windows.Forms.DataGridView control. Más...
Métodos públicos | |
DataGridViewNumericUpDownCell () | |
Constructor for the DataGridViewNumericUpDownCell cell type. | |
override object | Clone () |
Clones a DataGridViewNumericUpDownCell cell, copies all the custom properties. | |
override void | DetachEditingControl () |
DetachEditingControl gets called by the DataGridView control when the editing session is ending. | |
override void | InitializeEditingControl (int rowIndex, object initialFormattedValue, DataGridViewCellStyle dataGridViewCellStyle) |
Custom implementation of the InitializeEditingControl function. This function is called by the DataGridView control at the beginning of an editing session. It makes sure that the properties of the NumericUpDown editing control are set according to the cell properties. | |
override bool | KeyEntersEditMode (KeyEventArgs e) |
Custom implementation of the KeyEntersEditMode function. This function is called by the DataGridView control to decide whether a keystroke must start an editing session or not. In this case, a new session is started when a digit or negative sign key is hit. | |
override void | PositionEditingControl (bool setLocation, bool setSize, Rectangle cellBounds, Rectangle cellClip, DataGridViewCellStyle cellStyle, bool singleVerticalBorderAdded, bool singleHorizontalBorderAdded, bool isFirstDisplayedColumn, bool isFirstDisplayedRow) |
Custom implementation of the PositionEditingControl method called by the DataGridView control when it needs to relocate and/or resize the editing control. | |
override string | ToString () |
Returns a standard textual representation of the cell. | |
![]() | |
override bool | KeyEntersEditMode (KeyEventArgs e) |
Habilita la edicion con Control+V. | |
Métodos protegidos | |
override Rectangle | GetErrorIconBounds (Graphics graphics, DataGridViewCellStyle cellStyle, int rowIndex) |
Customized implementation of the GetErrorIconBounds function in order to draw the potential error icon next to the up/down buttons and not on top of them. | |
override Size | GetPreferredSize (Graphics graphics, DataGridViewCellStyle cellStyle, int rowIndex, Size constraintSize) |
Custom implementation of the GetPreferredSize function. This implementation uses the preferred size of the base DataGridViewTextBoxCell cell and adds room for the up/down buttons. | |
Propiedades | |
int | DecimalPlaces [get, set] |
The DecimalPlaces property replicates the one from the NumericUpDown control. | |
override Type | EditType [get] |
Define the type of the cell's editing control. | |
Decimal | Increment [get, set] |
The Increment property replicates the one from the NumericUpDown control. | |
Decimal | Maximum [get, set] |
The Maximum property replicates the one from the NumericUpDown control. | |
Decimal | Minimum [get, set] |
The Minimum property replicates the one from the NumericUpDown control. | |
bool | ThousandsSeparator [get, set] |
The ThousandsSeparator property replicates the one from the NumericUpDown control. | |
bool | _Tactil [get, set] |
Indica si estamos en un entorno táctil. | |
override Type | ValueType [get] |
Returns the type of the cell's Value property. | |
Defines a NumericUpDown cell type for the System.Windows.Forms.DataGridView control.
Definición en la línea 4026 del archivo Mantegrid.cs.
|
inline |
Constructor for the DataGridViewNumericUpDownCell cell type.
Definición en la línea 4077 del archivo Mantegrid.cs.
|
inline |
Clones a DataGridViewNumericUpDownCell cell, copies all the custom properties.
Definición en la línea 4284 del archivo Mantegrid.cs.
|
inline |
DetachEditingControl gets called by the DataGridView control when the editing session is ending.
Definición en la línea 4321 del archivo Mantegrid.cs.
|
inlineprotected |
Customized implementation of the GetErrorIconBounds function in order to draw the potential error icon next to the up/down buttons and not on top of them.
Definición en la línea 4382 del archivo Mantegrid.cs.
|
inlineprotected |
Custom implementation of the GetPreferredSize function. This implementation uses the preferred size of the base DataGridViewTextBoxCell cell and adds room for the up/down buttons.
Definición en la línea 4431 del archivo Mantegrid.cs.
|
inline |
Custom implementation of the InitializeEditingControl function. This function is called by the DataGridView control at the beginning of an editing session. It makes sure that the properties of the NumericUpDown editing control are set according to the cell properties.
Definición en la línea 4453 del archivo Mantegrid.cs.
|
inline |
Custom implementation of the KeyEntersEditMode function. This function is called by the DataGridView control to decide whether a keystroke must start an editing session or not. In this case, a new session is started when a digit or negative sign key is hit.
Definición en la línea 4482 del archivo Mantegrid.cs.
|
inline |
Custom implementation of the PositionEditingControl method called by the DataGridView control when it needs to relocate and/or resize the editing control.
Definición en la línea 4675 del archivo Mantegrid.cs.
|
inline |
Returns a standard textual representation of the cell.
Definición en la línea 4811 del archivo Mantegrid.cs.
|
getset |
Indica si estamos en un entorno táctil.
Definición en la línea 4248 del archivo Mantegrid.cs.
|
getset |
The DecimalPlaces property replicates the one from the NumericUpDown control.
Definición en la línea 4109 del archivo Mantegrid.cs.
|
get |
Define the type of the cell's editing control.
Definición en la línea 4145 del archivo Mantegrid.cs.
|
getset |
The Increment property replicates the one from the NumericUpDown control.
Definición en la línea 4156 del archivo Mantegrid.cs.
|
getset |
The Maximum property replicates the one from the NumericUpDown control.
Definición en la línea 4178 del archivo Mantegrid.cs.
|
getset |
The Minimum property replicates the one from the NumericUpDown control.
Definición en la línea 4199 del archivo Mantegrid.cs.
|
getset |
The ThousandsSeparator property replicates the one from the NumericUpDown control.
Definición en la línea 4223 del archivo Mantegrid.cs.
|
get |
Returns the type of the cell's Value property.
Definición en la línea 4268 del archivo Mantegrid.cs.