Defines the editing control for the DataGridViewNumericUpDownCell custom cell type. Más...
Métodos públicos | |
DataGridViewNumericUpDownEditingControl () | |
Constructor of the editing control class. | |
virtual void | ApplyCellStyleToEditingControl (DataGridViewCellStyle dataGridViewCellStyle) |
Method called by the grid before the editing control is shown so it can adapt to the provided cell style. | |
virtual bool | EditingControlWantsInputKey (Keys keyData, bool dataGridViewWantsInputKey) |
Method called by the grid on keystrokes to determine if the editing control is interested in the key or not. | |
virtual object | GetEditingControlFormattedValue (DataGridViewDataErrorContexts context) |
Returns the current value of the editing control. | |
virtual void | PrepareEditingControlForEdit (bool selectAll) |
Called by the grid to give the editing control a chance to prepare itself for the editing session. | |
![]() | |
object | _GetValueUserOption () |
Nos devuelve el valor establecido en este momento en el control visual. | |
void | _SetValueUserOption (object toValor) |
Para establecer un valor en el control visual. | |
ewnumericupdown () | |
Inicializa una nueva instancia de la clase ewnumericupdown. | |
void | ewnumericupdown_Click (object sender, EventArgs e) |
Evento clilck. | |
Métodos protegidos | |
override void | OnKeyPress (KeyPressEventArgs e) |
Listen to the KeyPress notification to know when the value changed, and notify the grid of the change. | |
override void | OnValueChanged (EventArgs e) |
Listen to the ValueChanged notification to forward the change to the grid. | |
override bool | ProcessKeyEventArgs (ref Message m) |
A few keyboard messages need to be forwarded to the inner textbox of the NumericUpDown control so that the first character pressed appears in it. | |
![]() | |
override void | OnTextBoxKeyPress (object source, KeyPressEventArgs e) |
Provoca el evento KeyPress. (Invalida a UpDownBase.OnTextBoxKeyPress(Object, KeyPressEventArgs)). | |
override void | OnTextBoxTextChanged (object source, EventArgs e) |
Provoca el evento TextChanged. | |
override void | OnKeyDown (KeyEventArgs e) |
Responde al evento KeyDown. | |
override void | OnKeyUp (KeyEventArgs e) |
Evento OnKeyUp. | |
override void | OnKeyPress (KeyPressEventArgs e) |
Se produce cuando se presiona una tecla mientras el control tiene el foco. | |
override void | WndProc (ref Message m) |
Mensajes recibidos. | |
override void | OnPaint (PaintEventArgs e) |
OnPaint. | |
Propiedades | |
virtual DataGridView | EditingControlDataGridView [get, set] |
Property which caches the grid that uses this editing control. | |
virtual object | EditingControlFormattedValue [get, set] |
Property which represents the current formatted value of the editing control. | |
virtual int | EditingControlRowIndex [get, set] |
Property which represents the row in which the editing control resides. | |
virtual bool | EditingControlValueChanged [get, set] |
Property which indicates whether the value of the editing control has changed or not. | |
virtual Cursor | EditingPanelCursor [get] |
Property which determines which cursor must be used for the editing panel, i.e. the parent of the editing control. | |
virtual bool | RepositionEditingControlOnValueChange [get] |
Property which indicates whether the editing control needs to be repositioned when its value changes. | |
![]() | |
bool | _EsOpcionalConfigUser = false [get, set] |
Para determinar si en este objeto se podrá configurar un valor por defecto. | |
bool | _UsuarioPermiteConfigUser = false [get, set] |
Para determinar si el usuario ha permitido configurar un valor por defecto (solo opcionales) | |
string | _DescripcionOpcional [get, set] |
Para especificar un mensaje conforme no se permite configurar un valor por defecto este objeto. | |
bool | _PermitirConfigUser [get, set] |
Para determinar si en este objeto se podrá configurar un valor por defecto. | |
string | _DescripcionError [get, set] |
Para especificar un mensaje conforme no se permite configurar un valor por defecto este objeto. | |
bool | _EditMode [get, set] |
Para establecer si este objeto está en modo Edición o Ejecución True -> Edición False -> Ejecución. | |
ewtextboxEstilosBase | _PropiedadesDeEstilos [get, set] |
Objeto estilo. | |
string | _Tooltip [get, set] |
Tooltip del control para asignar por código. | |
bool | _SelectOnEntry [get, set] |
Seleccionar el contenido del control al recibir el foco. | |
new bool | ReadOnly [get, set] |
Controla si se puede cambiar el texto en el control de edición. PE-76532 Si es de solo lectura se bloquea el incremento. | |
new bool | Enabled [get, set] |
Enmascara la propiedad base Enable para redirigirla hacia el _ReadOnly. | |
bool | _ReadOnly [get, set] |
Permite deshabilitar el control manteniendo el contenido seleccionable. | |
new decimal | Value [get, set] |
Obtiene o establece el valor asignado al ewnumericupdown no permitiendo superar 'Minimum' y 'Maximum'. | |
bool | _CanChangeStyle [get, set] |
Propiedad para permitir cambiar los estilos dentro de un form satelite. Habrá que controlar el valor también en el form satelite. | |
override string | Text [get, set] |
Obtiene o establece el texto que se mostrará en el control. | |
bool | _ErrorValidation [get, set] |
Si control asociado error de validacion. | |
Otros miembros heredados | |
![]() | |
bool | _Tactil = true |
Indica si el botón se utilizará en una pantalla para uso táctil. | |
![]() | |
EventHandler | OnConfigUserValueChanged |
Evento para determinar cuando cambia el valor y mostrar mensaje si es opcional. | |
![]() | |
EventHandler | OnConfigUserValueChanged |
Evento para determinar cuando cambia el valor y mostrar mensaje si es opcional. | |
Defines the editing control for the DataGridViewNumericUpDownCell custom cell type.
Definición en la línea 4840 del archivo Mantegrid.cs.
|
inline |
Constructor of the editing control class.
Definición en la línea 4856 del archivo Mantegrid.cs.
|
inlinevirtual |
Method called by the grid before the editing control is shown so it can adapt to the provided cell style.
Definición en la línea 4952 del archivo Mantegrid.cs.
|
inlinevirtual |
Method called by the grid on keystrokes to determine if the editing control is interested in the key or not.
Definición en la línea 4974 del archivo Mantegrid.cs.
|
inlinevirtual |
Returns the current value of the editing control.
Definición en la línea 5065 del archivo Mantegrid.cs.
|
inlineprotected |
Listen to the KeyPress notification to know when the value changed, and notify the grid of the change.
Definición en la línea 5121 del archivo Mantegrid.cs.
|
inlineprotected |
Listen to the ValueChanged notification to forward the change to the grid.
Definición en la línea 5162 del archivo Mantegrid.cs.
|
inlinevirtual |
Called by the grid to give the editing control a chance to prepare itself for the editing session.
Definición en la línea 5084 del archivo Mantegrid.cs.
|
inlineprotected |
A few keyboard messages need to be forwarded to the inner textbox of the NumericUpDown control so that the first character pressed appears in it.
Definición en la línea 5176 del archivo Mantegrid.cs.
|
getset |
Property which caches the grid that uses this editing control.
Definición en la línea 4867 del archivo Mantegrid.cs.
|
getset |
Property which represents the current formatted value of the editing control.
Definición en la línea 4882 del archivo Mantegrid.cs.
|
getset |
Property which represents the row in which the editing control resides.
Definición en la línea 4897 del archivo Mantegrid.cs.
|
getset |
Property which indicates whether the value of the editing control has changed or not.
Definición en la línea 4912 del archivo Mantegrid.cs.
|
get |
Property which determines which cursor must be used for the editing panel, i.e. the parent of the editing control.
Definición en la línea 4928 del archivo Mantegrid.cs.
|
get |
Property which indicates whether the editing control needs to be repositioned when its value changes.
Definición en la línea 4940 del archivo Mantegrid.cs.