DataGridViewTopLeftHeaderCell DataGridViewTopLeftHeaderCell DataGridViewTopLeftHeaderCell DataGridViewTopLeftHeaderCell Class

Definición

Representa la celda situada en la esquina superior izquierda del control DataGridView ubicado encima de los encabezados de fila y a la izquierda de los encabezados de columna.Represents the cell in the top left corner of the DataGridView that sits above the row headers and to the left of the column headers.

public ref class DataGridViewTopLeftHeaderCell : System::Windows::Forms::DataGridViewColumnHeaderCell
public class DataGridViewTopLeftHeaderCell : System.Windows.Forms.DataGridViewColumnHeaderCell
type DataGridViewTopLeftHeaderCell = class
    inherit DataGridViewColumnHeaderCell
Public Class DataGridViewTopLeftHeaderCell
Inherits DataGridViewColumnHeaderCell
Herencia

Comentarios

Al hacer clic en la celda de encabezado superior izquierda selecciona todas las celdas en el DataGridView.Clicking on the top left header cell selects all of the cells in the DataGridView.

Constructores

DataGridViewTopLeftHeaderCell() DataGridViewTopLeftHeaderCell() DataGridViewTopLeftHeaderCell() DataGridViewTopLeftHeaderCell()

Inicializa una nueva instancia de la clase DataGridViewTopLeftHeaderCell.Initializes a new instance of the DataGridViewTopLeftHeaderCell class.

Métodos

AdjustCellBorderStyle(DataGridViewAdvancedBorderStyle, DataGridViewAdvancedBorderStyle, Boolean, Boolean, Boolean, Boolean) AdjustCellBorderStyle(DataGridViewAdvancedBorderStyle, DataGridViewAdvancedBorderStyle, Boolean, Boolean, Boolean, Boolean) AdjustCellBorderStyle(DataGridViewAdvancedBorderStyle, DataGridViewAdvancedBorderStyle, Boolean, Boolean, Boolean, Boolean) AdjustCellBorderStyle(DataGridViewAdvancedBorderStyle, DataGridViewAdvancedBorderStyle, Boolean, Boolean, Boolean, Boolean)

Modifica el estilo de borde de celda de entrada según los criterios especificados.Modifies the input cell border style according to the specified criteria.

(Inherited from DataGridViewCell)
BorderWidths(DataGridViewAdvancedBorderStyle) BorderWidths(DataGridViewAdvancedBorderStyle) BorderWidths(DataGridViewAdvancedBorderStyle) BorderWidths(DataGridViewAdvancedBorderStyle)

Devuelve un objeto Rectangle que representa el ancho de todos los márgenes de la celda.Returns a Rectangle that represents the widths of all the cell margins.

(Inherited from DataGridViewCell)
ClickUnsharesRow(DataGridViewCellEventArgs) ClickUnsharesRow(DataGridViewCellEventArgs) ClickUnsharesRow(DataGridViewCellEventArgs) ClickUnsharesRow(DataGridViewCellEventArgs)

Indica si la fila de la celda dejará de estar compartida al hacer clic en la celda.Indicates whether the cell's row will be unshared when the cell is clicked.

(Inherited from DataGridViewCell)
Clone() Clone() Clone() Clone()

Crea una copia exacta de esta celda.Creates an exact copy of this cell.

(Inherited from DataGridViewColumnHeaderCell)
ContentClickUnsharesRow(DataGridViewCellEventArgs) ContentClickUnsharesRow(DataGridViewCellEventArgs) ContentClickUnsharesRow(DataGridViewCellEventArgs) ContentClickUnsharesRow(DataGridViewCellEventArgs)

Indica si la fila de la celda dejará de estar compartida al hacer clic en el contenido de la celda.Indicates whether the cell's row will be unshared when the cell's content is clicked.

(Inherited from DataGridViewCell)
ContentDoubleClickUnsharesRow(DataGridViewCellEventArgs) ContentDoubleClickUnsharesRow(DataGridViewCellEventArgs) ContentDoubleClickUnsharesRow(DataGridViewCellEventArgs) ContentDoubleClickUnsharesRow(DataGridViewCellEventArgs)

Indica si la fila de la celda dejará de estar compartida al hacer doble clic en el contenido de la celda.Indicates whether the cell's row will be unshared when the cell's content is double-clicked.

(Inherited from DataGridViewCell)
CreateAccessibilityInstance() CreateAccessibilityInstance() CreateAccessibilityInstance() CreateAccessibilityInstance()

Crea un nuevo objeto accesible para el control DataGridViewTopLeftHeaderCell.Creates a new accessible object for the DataGridViewTopLeftHeaderCell.

DetachEditingControl() DetachEditingControl() DetachEditingControl() DetachEditingControl()

Quita el control de edición de la celda de DataGridView.Removes the cell's editing control from the DataGridView.

(Inherited from DataGridViewCell)
Dispose() Dispose() Dispose() Dispose()

Libera todos los recursos que usa DataGridViewCell.Releases all resources used by the DataGridViewCell.

(Inherited from DataGridViewCell)
Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

Libera los recursos no administrados que usa DataGridViewHeaderCell y, de forma opcional, libera los recursos administrados.Releases the unmanaged resources used by the DataGridViewHeaderCell and optionally releases the managed resources.

(Inherited from DataGridViewHeaderCell)
DoubleClickUnsharesRow(DataGridViewCellEventArgs) DoubleClickUnsharesRow(DataGridViewCellEventArgs) DoubleClickUnsharesRow(DataGridViewCellEventArgs) DoubleClickUnsharesRow(DataGridViewCellEventArgs)

Indica si la fila de la celda dejará de estar compartida al hacer doble clic en la celda.Indicates whether the cell's row will be unshared when the cell is double-clicked.

(Inherited from DataGridViewCell)
EnterUnsharesRow(Int32, Boolean) EnterUnsharesRow(Int32, Boolean) EnterUnsharesRow(Int32, Boolean) EnterUnsharesRow(Int32, Boolean)

Indica si la fila primaria va a dejar de estar compartida cuando el foco se desplace a la celda.Indicates whether the parent row will be unshared when the focus moves to the cell.

(Inherited from DataGridViewCell)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determina si el objeto especificado es igual al objeto actual.Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetClipboardContent(Int32, Boolean, Boolean, Boolean, Boolean, String) GetClipboardContent(Int32, Boolean, Boolean, Boolean, Boolean, String) GetClipboardContent(Int32, Boolean, Boolean, Boolean, Boolean, String) GetClipboardContent(Int32, Boolean, Boolean, Boolean, Boolean, String)

Recupera el valor con formato de la celda que copiar en el Clipboard.Retrieves the formatted value of the cell to copy to the Clipboard.

(Inherited from DataGridViewColumnHeaderCell)
GetContentBounds(Graphics, DataGridViewCellStyle, Int32) GetContentBounds(Graphics, DataGridViewCellStyle, Int32) GetContentBounds(Graphics, DataGridViewCellStyle, Int32) GetContentBounds(Graphics, DataGridViewCellStyle, Int32)

Devuelve el rectángulo delimitador que rodea el área de contenido de la celda, que se calcula utilizando el objeto Graphics especificado y el estilo de la celda.Returns the bounding rectangle that encloses the cell's content area, which is calculated using the specified Graphics object and cell style.

GetContentBounds(Int32) GetContentBounds(Int32) GetContentBounds(Int32) GetContentBounds(Int32)

Devuelve el rectángulo delimitador que rodea el área de contenido de la celda utilizando un objeto Graphics predeterminado y el estilo de celda actualmente en vigor para la celda.Returns the bounding rectangle that encloses the cell's content area using a default Graphics and cell style currently in effect for the cell.

(Inherited from DataGridViewCell)
GetEditedFormattedValue(Int32, DataGridViewDataErrorContexts) GetEditedFormattedValue(Int32, DataGridViewDataErrorContexts) GetEditedFormattedValue(Int32, DataGridViewDataErrorContexts) GetEditedFormattedValue(Int32, DataGridViewDataErrorContexts)

Devuelve el valor actual con formato de la celda, con independencia de si la celda está en modo de edición y no se ha confirmado el valor.Returns the current, formatted value of the cell, regardless of whether the cell is in edit mode and the value has not been committed.

(Inherited from DataGridViewCell)
GetErrorIconBounds(Graphics, DataGridViewCellStyle, Int32) GetErrorIconBounds(Graphics, DataGridViewCellStyle, Int32) GetErrorIconBounds(Graphics, DataGridViewCellStyle, Int32) GetErrorIconBounds(Graphics, DataGridViewCellStyle, Int32)

Devuelve el rectángulo delimitador que rodea el icono de error de la celda, si se está mostrando alguna.Returns the bounding rectangle that encloses the cell's error icon, if one is displayed.

GetErrorText(Int32) GetErrorText(Int32) GetErrorText(Int32) GetErrorText(Int32)

Devuelve una cadena que representa el error para la celda.Returns a string that represents the error for the cell.

(Inherited from DataGridViewCell)
GetFormattedValue(Object, Int32, DataGridViewCellStyle, TypeConverter, TypeConverter, DataGridViewDataErrorContexts) GetFormattedValue(Object, Int32, DataGridViewCellStyle, TypeConverter, TypeConverter, DataGridViewDataErrorContexts) GetFormattedValue(Object, Int32, DataGridViewCellStyle, TypeConverter, TypeConverter, DataGridViewDataErrorContexts) GetFormattedValue(Object, Int32, DataGridViewCellStyle, TypeConverter, TypeConverter, DataGridViewDataErrorContexts)

Obtiene el valor de la celda con el formato para mostrar.Gets the value of the cell as formatted for display.

(Inherited from DataGridViewCell)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Sirve como la función hash predeterminada.Serves as the default hash function.

(Inherited from Object)
GetInheritedContextMenuStrip(Int32) GetInheritedContextMenuStrip(Int32) GetInheritedContextMenuStrip(Int32) GetInheritedContextMenuStrip(Int32)

Recupera el menú contextual heredado para la fila especificada.Retrieves the inherited shortcut menu for the specified row.

(Inherited from DataGridViewColumnHeaderCell)
GetInheritedState(Int32) GetInheritedState(Int32) GetInheritedState(Int32) GetInheritedState(Int32)

Devuelve un valor que indica el estado actual de la celda heredado del estado de su fila o columna.Returns a value indicating the current state of the cell as inherited from the state of its row or column.

(Inherited from DataGridViewHeaderCell)
GetInheritedStyle(DataGridViewCellStyle, Int32, Boolean) GetInheritedStyle(DataGridViewCellStyle, Int32, Boolean) GetInheritedStyle(DataGridViewCellStyle, Int32, Boolean) GetInheritedStyle(DataGridViewCellStyle, Int32, Boolean)

Obtiene el estilo aplicado a la celda.Gets the style applied to the cell.

(Inherited from DataGridViewColumnHeaderCell)
GetPreferredSize(Graphics, DataGridViewCellStyle, Int32, Size) GetPreferredSize(Graphics, DataGridViewCellStyle, Int32, Size) GetPreferredSize(Graphics, DataGridViewCellStyle, Int32, Size) GetPreferredSize(Graphics, DataGridViewCellStyle, Int32, Size)

Calcula el tamaño preferido, en píxeles, de la celda.Calculates the preferred size, in pixels, of the cell.

GetSize(Int32) GetSize(Int32) GetSize(Int32) GetSize(Int32)

Obtiene el tamaño de la celda.Gets the size of the cell.

(Inherited from DataGridViewHeaderCell)
GetType() GetType() GetType() GetType()

Obtiene el Type de la instancia actual.Gets the Type of the current instance.

(Inherited from Object)
GetValue(Int32) GetValue(Int32) GetValue(Int32) GetValue(Int32)

Obtiene el valor de la celda.Gets the value of the cell.

(Inherited from DataGridViewColumnHeaderCell)
InitializeEditingControl(Int32, Object, DataGridViewCellStyle) InitializeEditingControl(Int32, Object, DataGridViewCellStyle) InitializeEditingControl(Int32, Object, DataGridViewCellStyle) InitializeEditingControl(Int32, Object, DataGridViewCellStyle)

Inicializa el control utilizado para editar la celda.Initializes the control used to edit the cell.

(Inherited from DataGridViewCell)
KeyDownUnsharesRow(KeyEventArgs, Int32) KeyDownUnsharesRow(KeyEventArgs, Int32) KeyDownUnsharesRow(KeyEventArgs, Int32) KeyDownUnsharesRow(KeyEventArgs, Int32)

Indica si la fila primaria deja de estar compartida cuando el usuario presiona una tecla mientras el foco está en la celda.Indicates whether the parent row is unshared if the user presses a key while the focus is on the cell.

(Inherited from DataGridViewCell)
KeyEntersEditMode(KeyEventArgs) KeyEntersEditMode(KeyEventArgs) KeyEntersEditMode(KeyEventArgs) KeyEntersEditMode(KeyEventArgs)

Determina si el modo de edición se debe iniciar basándose en la clave dada.Determines if edit mode should be started based on the given key.

(Inherited from DataGridViewCell)
KeyPressUnsharesRow(KeyPressEventArgs, Int32) KeyPressUnsharesRow(KeyPressEventArgs, Int32) KeyPressUnsharesRow(KeyPressEventArgs, Int32) KeyPressUnsharesRow(KeyPressEventArgs, Int32)

Indica si una fila va a dejar de estar compartida cuando se presiona una tecla mientras el foco está en una celda de la fila.Indicates whether a row will be unshared if a key is pressed while a cell in the row has focus.

(Inherited from DataGridViewCell)
KeyUpUnsharesRow(KeyEventArgs, Int32) KeyUpUnsharesRow(KeyEventArgs, Int32) KeyUpUnsharesRow(KeyEventArgs, Int32) KeyUpUnsharesRow(KeyEventArgs, Int32)

Indica si la fila primaria deja de estar compartida cuando el usuario libera una tecla mientras el foco está en la celda.Indicates whether the parent row is unshared when the user releases a key while the focus is on the cell.

(Inherited from DataGridViewCell)
LeaveUnsharesRow(Int32, Boolean) LeaveUnsharesRow(Int32, Boolean) LeaveUnsharesRow(Int32, Boolean) LeaveUnsharesRow(Int32, Boolean)

Indica si una fila va a dejar de estar compartida cuando el foco abandone una celda de la fila.Indicates whether a row will be unshared when the focus leaves a cell in the row.

(Inherited from DataGridViewCell)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Crea una copia superficial del objeto Object actual.Creates a shallow copy of the current Object.

(Inherited from Object)
MouseClickUnsharesRow(DataGridViewCellMouseEventArgs) MouseClickUnsharesRow(DataGridViewCellMouseEventArgs) MouseClickUnsharesRow(DataGridViewCellMouseEventArgs) MouseClickUnsharesRow(DataGridViewCellMouseEventArgs)

Indica si una fila va a dejar de estar compartida cuando el usuario haga clic en un botón del mouse mientras el puntero está en una celda de la fila.Indicates whether a row will be unshared if the user clicks a mouse button while the pointer is on a cell in the row.

(Inherited from DataGridViewCell)
MouseDoubleClickUnsharesRow(DataGridViewCellMouseEventArgs) MouseDoubleClickUnsharesRow(DataGridViewCellMouseEventArgs) MouseDoubleClickUnsharesRow(DataGridViewCellMouseEventArgs) MouseDoubleClickUnsharesRow(DataGridViewCellMouseEventArgs)

Indica si una fila va a dejar de estar compartida cuando el usuario haga doble clic en una celda de la fila.Indicates whether a row will be unshared if the user double-clicks a cell in the row.

(Inherited from DataGridViewCell)
MouseDownUnsharesRow(DataGridViewCellMouseEventArgs) MouseDownUnsharesRow(DataGridViewCellMouseEventArgs) MouseDownUnsharesRow(DataGridViewCellMouseEventArgs) MouseDownUnsharesRow(DataGridViewCellMouseEventArgs)

Indica si no se comparte una fila cuando se mantiene presionado el botón del mouse mientras el puntero está en una celda de la fila.Indicates whether a row will be unshared when the mouse button is held down while the pointer is on a cell in the row.

(Inherited from DataGridViewHeaderCell)
MouseEnterUnsharesRow(Int32) MouseEnterUnsharesRow(Int32) MouseEnterUnsharesRow(Int32) MouseEnterUnsharesRow(Int32)

Indica si una fila va a dejar de estar compartida cuando el puntero del mouse se sitúe sobre una celda de la fila.Indicates whether a row will be unshared when the mouse pointer moves over a cell in the row.

(Inherited from DataGridViewHeaderCell)
MouseLeaveUnsharesRow(Int32) MouseLeaveUnsharesRow(Int32) MouseLeaveUnsharesRow(Int32) MouseLeaveUnsharesRow(Int32)

Indica si una fila va a dejar de estar compartida cuando el puntero del mouse salga de la fila.Indicates whether a row will be unshared when the mouse pointer leaves the row.

(Inherited from DataGridViewHeaderCell)
MouseMoveUnsharesRow(DataGridViewCellMouseEventArgs) MouseMoveUnsharesRow(DataGridViewCellMouseEventArgs) MouseMoveUnsharesRow(DataGridViewCellMouseEventArgs) MouseMoveUnsharesRow(DataGridViewCellMouseEventArgs)

Indica si una fila va a dejar de estar compartida cuando el puntero del mouse se sitúe sobre una celda de la fila.Indicates whether a row will be unshared when the mouse pointer moves over a cell in the row.

(Inherited from DataGridViewCell)
MouseUpUnsharesRow(DataGridViewCellMouseEventArgs) MouseUpUnsharesRow(DataGridViewCellMouseEventArgs) MouseUpUnsharesRow(DataGridViewCellMouseEventArgs) MouseUpUnsharesRow(DataGridViewCellMouseEventArgs)

Indica si no se comparte una fila cuando se libera el botón del mouse mientras el puntero está en una celda de la fila.Indicates whether a row will be unshared when the mouse button is released while the pointer is on a cell in the row.

(Inherited from DataGridViewHeaderCell)
OnClick(DataGridViewCellEventArgs) OnClick(DataGridViewCellEventArgs) OnClick(DataGridViewCellEventArgs) OnClick(DataGridViewCellEventArgs)

Se le llama al hacer clic en la celda.Called when the cell is clicked.

(Inherited from DataGridViewCell)
OnContentClick(DataGridViewCellEventArgs) OnContentClick(DataGridViewCellEventArgs) OnContentClick(DataGridViewCellEventArgs) OnContentClick(DataGridViewCellEventArgs)

Se le llama al hacer clic en el contenido de la celda.Called when the cell's contents are clicked.

(Inherited from DataGridViewCell)
OnContentDoubleClick(DataGridViewCellEventArgs) OnContentDoubleClick(DataGridViewCellEventArgs) OnContentDoubleClick(DataGridViewCellEventArgs) OnContentDoubleClick(DataGridViewCellEventArgs)

Se le llama al hacer doble clic en el contenido de la celda.Called when the cell's contents are double-clicked.

(Inherited from DataGridViewCell)
OnDataGridViewChanged() OnDataGridViewChanged() OnDataGridViewChanged() OnDataGridViewChanged()

Se le llama cuando cambia la propiedad DataGridView de la celda.Called when the DataGridView property of the cell changes.

(Inherited from DataGridViewCell)
OnDoubleClick(DataGridViewCellEventArgs) OnDoubleClick(DataGridViewCellEventArgs) OnDoubleClick(DataGridViewCellEventArgs) OnDoubleClick(DataGridViewCellEventArgs)

Se le llama al hacer doble clic en la celda.Called when the cell is double-clicked.

(Inherited from DataGridViewCell)
OnEnter(Int32, Boolean) OnEnter(Int32, Boolean) OnEnter(Int32, Boolean) OnEnter(Int32, Boolean)

Se le llama cuando el foco se desplaza a una celda.Called when the focus moves to a cell.

(Inherited from DataGridViewCell)
OnKeyDown(KeyEventArgs, Int32) OnKeyDown(KeyEventArgs, Int32) OnKeyDown(KeyEventArgs, Int32) OnKeyDown(KeyEventArgs, Int32)

Se le llama cuando se presiona una tecla de carácter mientras el foco está en una celda.Called when a character key is pressed while the focus is on a cell.

(Inherited from DataGridViewCell)
OnKeyPress(KeyPressEventArgs, Int32) OnKeyPress(KeyPressEventArgs, Int32) OnKeyPress(KeyPressEventArgs, Int32) OnKeyPress(KeyPressEventArgs, Int32)

Se le llama cuando se presiona una tecla mientras el foco está en una celda.Called when a key is pressed while the focus is on a cell.

(Inherited from DataGridViewCell)
OnKeyUp(KeyEventArgs, Int32) OnKeyUp(KeyEventArgs, Int32) OnKeyUp(KeyEventArgs, Int32) OnKeyUp(KeyEventArgs, Int32)

Se le llama cuando se suelta una tecla de carácter mientras el foco está en una celda.Called when a character key is released while the focus is on a cell.

(Inherited from DataGridViewCell)
OnLeave(Int32, Boolean) OnLeave(Int32, Boolean) OnLeave(Int32, Boolean) OnLeave(Int32, Boolean)

Se le llama cuando el foco se desplaza de una celda.Called when the focus moves from a cell.

(Inherited from DataGridViewCell)
OnMouseClick(DataGridViewCellMouseEventArgs) OnMouseClick(DataGridViewCellMouseEventArgs) OnMouseClick(DataGridViewCellMouseEventArgs) OnMouseClick(DataGridViewCellMouseEventArgs)

Se le llama cuando el usuario hace clic en un botón del mouse mientras el puntero está en una celda.Called when the user clicks a mouse button while the pointer is on a cell.

(Inherited from DataGridViewCell)
OnMouseDoubleClick(DataGridViewCellMouseEventArgs) OnMouseDoubleClick(DataGridViewCellMouseEventArgs) OnMouseDoubleClick(DataGridViewCellMouseEventArgs) OnMouseDoubleClick(DataGridViewCellMouseEventArgs)

Se le llama cuando el usuario hace clic en un botón del mouse mientras el puntero está en una celda.Called when the user double-clicks a mouse button while the pointer is on a cell.

(Inherited from DataGridViewCell)
OnMouseDown(DataGridViewCellMouseEventArgs) OnMouseDown(DataGridViewCellMouseEventArgs) OnMouseDown(DataGridViewCellMouseEventArgs) OnMouseDown(DataGridViewCellMouseEventArgs)

Se le llama cuando se mantiene presionado el botón del mouse mientras el puntero está en una celda.Called when the mouse button is held down while the pointer is on a cell.

(Inherited from DataGridViewHeaderCell)
OnMouseEnter(Int32) OnMouseEnter(Int32) OnMouseEnter(Int32) OnMouseEnter(Int32)

Se lo llama cuando el puntero del mouse entra en la celda.Called when the mouse pointer enters the cell.

(Inherited from DataGridViewHeaderCell)
OnMouseLeave(Int32) OnMouseLeave(Int32) OnMouseLeave(Int32) OnMouseLeave(Int32)

Se le llama cuando el puntero del mouse sale de la celda.Called when the mouse pointer leaves the cell.

(Inherited from DataGridViewHeaderCell)
OnMouseMove(DataGridViewCellMouseEventArgs) OnMouseMove(DataGridViewCellMouseEventArgs) OnMouseMove(DataGridViewCellMouseEventArgs) OnMouseMove(DataGridViewCellMouseEventArgs)

Se le llama cuando el puntero del mouse se mueve dentro de una celda.Called when the mouse pointer moves within a cell.

(Inherited from DataGridViewCell)
OnMouseUp(DataGridViewCellMouseEventArgs) OnMouseUp(DataGridViewCellMouseEventArgs) OnMouseUp(DataGridViewCellMouseEventArgs) OnMouseUp(DataGridViewCellMouseEventArgs)

Se lo llama cuando se suelta el botón del mouse mientras el puntero está situado sobre la celda.Called when the mouse button is released while the pointer is over the cell.

(Inherited from DataGridViewHeaderCell)
Paint(Graphics, Rectangle, Rectangle, Int32, DataGridViewElementStates, Object, Object, String, DataGridViewCellStyle, DataGridViewAdvancedBorderStyle, DataGridViewPaintParts) Paint(Graphics, Rectangle, Rectangle, Int32, DataGridViewElementStates, Object, Object, String, DataGridViewCellStyle, DataGridViewAdvancedBorderStyle, DataGridViewPaintParts) Paint(Graphics, Rectangle, Rectangle, Int32, DataGridViewElementStates, Object, Object, String, DataGridViewCellStyle, DataGridViewAdvancedBorderStyle, DataGridViewPaintParts) Paint(Graphics, Rectangle, Rectangle, Int32, DataGridViewElementStates, Object, Object, String, DataGridViewCellStyle, DataGridViewAdvancedBorderStyle, DataGridViewPaintParts)

Dibuja la celda DataGridViewTopLeftHeaderCell actual.Paints the current DataGridViewTopLeftHeaderCell.

PaintBorder(Graphics, Rectangle, Rectangle, DataGridViewCellStyle, DataGridViewAdvancedBorderStyle) PaintBorder(Graphics, Rectangle, Rectangle, DataGridViewCellStyle, DataGridViewAdvancedBorderStyle) PaintBorder(Graphics, Rectangle, Rectangle, DataGridViewCellStyle, DataGridViewAdvancedBorderStyle) PaintBorder(Graphics, Rectangle, Rectangle, DataGridViewCellStyle, DataGridViewAdvancedBorderStyle)

Dibuja el borde del control DataGridViewCell actual.Paints the border of the current DataGridViewCell.

PaintErrorIcon(Graphics, Rectangle, Rectangle, String) PaintErrorIcon(Graphics, Rectangle, Rectangle, String) PaintErrorIcon(Graphics, Rectangle, Rectangle, String) PaintErrorIcon(Graphics, Rectangle, Rectangle, String)

Dibuja el icono de error del control DataGridViewCell actual.Paints the error icon of the current DataGridViewCell.

(Inherited from DataGridViewCell)
ParseFormattedValue(Object, DataGridViewCellStyle, TypeConverter, TypeConverter) ParseFormattedValue(Object, DataGridViewCellStyle, TypeConverter, TypeConverter) ParseFormattedValue(Object, DataGridViewCellStyle, TypeConverter, TypeConverter) ParseFormattedValue(Object, DataGridViewCellStyle, TypeConverter, TypeConverter)

Convierte un valor con formato para la presentación en un valor de celda real.Converts a value formatted for display to an actual cell value.

(Inherited from DataGridViewCell)
PositionEditingControl(Boolean, Boolean, Rectangle, Rectangle, DataGridViewCellStyle, Boolean, Boolean, Boolean, Boolean) PositionEditingControl(Boolean, Boolean, Rectangle, Rectangle, DataGridViewCellStyle, Boolean, Boolean, Boolean, Boolean) PositionEditingControl(Boolean, Boolean, Rectangle, Rectangle, DataGridViewCellStyle, Boolean, Boolean, Boolean, Boolean) PositionEditingControl(Boolean, Boolean, Rectangle, Rectangle, DataGridViewCellStyle, Boolean, Boolean, Boolean, Boolean)

Establece la ubicación y tamaño del control de edición que hospeda una celda del control DataGridView.Sets the location and size of the editing control hosted by a cell in the DataGridView control.

(Inherited from DataGridViewCell)
PositionEditingPanel(Rectangle, Rectangle, DataGridViewCellStyle, Boolean, Boolean, Boolean, Boolean) PositionEditingPanel(Rectangle, Rectangle, DataGridViewCellStyle, Boolean, Boolean, Boolean, Boolean) PositionEditingPanel(Rectangle, Rectangle, DataGridViewCellStyle, Boolean, Boolean, Boolean, Boolean) PositionEditingPanel(Rectangle, Rectangle, DataGridViewCellStyle, Boolean, Boolean, Boolean, Boolean)

Establece la ubicación y tamaño del panel de edición que hospeda la celda y devuelve los límites normales del control de edición dentro del panel de edición.Sets the location and size of the editing panel hosted by the cell, and returns the normal bounds of the editing control within the editing panel.

(Inherited from DataGridViewCell)
RaiseCellClick(DataGridViewCellEventArgs) RaiseCellClick(DataGridViewCellEventArgs) RaiseCellClick(DataGridViewCellEventArgs) RaiseCellClick(DataGridViewCellEventArgs)

Genera el evento CellClick.Raises the CellClick event.

(Inherited from DataGridViewElement)
RaiseCellContentClick(DataGridViewCellEventArgs) RaiseCellContentClick(DataGridViewCellEventArgs) RaiseCellContentClick(DataGridViewCellEventArgs) RaiseCellContentClick(DataGridViewCellEventArgs)

Genera el evento CellContentClick.Raises the CellContentClick event.

(Inherited from DataGridViewElement)
RaiseCellContentDoubleClick(DataGridViewCellEventArgs) RaiseCellContentDoubleClick(DataGridViewCellEventArgs) RaiseCellContentDoubleClick(DataGridViewCellEventArgs) RaiseCellContentDoubleClick(DataGridViewCellEventArgs)

Genera el evento CellContentDoubleClick.Raises the CellContentDoubleClick event.

(Inherited from DataGridViewElement)
RaiseCellValueChanged(DataGridViewCellEventArgs) RaiseCellValueChanged(DataGridViewCellEventArgs) RaiseCellValueChanged(DataGridViewCellEventArgs) RaiseCellValueChanged(DataGridViewCellEventArgs)

Genera el evento CellValueChanged.Raises the CellValueChanged event.

(Inherited from DataGridViewElement)
RaiseDataError(DataGridViewDataErrorEventArgs) RaiseDataError(DataGridViewDataErrorEventArgs) RaiseDataError(DataGridViewDataErrorEventArgs) RaiseDataError(DataGridViewDataErrorEventArgs)

Genera el evento DataError.Raises the DataError event.

(Inherited from DataGridViewElement)
RaiseMouseWheel(MouseEventArgs) RaiseMouseWheel(MouseEventArgs) RaiseMouseWheel(MouseEventArgs) RaiseMouseWheel(MouseEventArgs)

Genera el evento MouseWheel.Raises the MouseWheel event.

(Inherited from DataGridViewElement)
SetValue(Int32, Object) SetValue(Int32, Object) SetValue(Int32, Object) SetValue(Int32, Object)

Establece el valor de la celda.Sets the value of the cell.

(Inherited from DataGridViewColumnHeaderCell)
ToString() ToString() ToString() ToString()

Devuelve la representación de cadena de la celda.Returns the string representation of the cell.

Propiedades

AccessibilityObject AccessibilityObject AccessibilityObject AccessibilityObject

Obtiene el objeto DataGridViewCell.DataGridViewCellAccessibleObject asignado a DataGridViewCell.Gets the DataGridViewCell.DataGridViewCellAccessibleObject assigned to the DataGridViewCell.

(Inherited from DataGridViewCell)
ButtonState ButtonState ButtonState ButtonState

Obtiene el estado visual similar a un botón de la celda de encabezado.Gets the buttonlike visual state of the header cell.

(Inherited from DataGridViewHeaderCell)
ColumnIndex ColumnIndex ColumnIndex ColumnIndex

Obtiene el índice de columna de esta celda.Gets the column index for this cell.

(Inherited from DataGridViewCell)
ContentBounds ContentBounds ContentBounds ContentBounds

Obtiene el rectángulo delimitador que rodea el área de contenido de la celda.Gets the bounding rectangle that encloses the cell's content area.

(Inherited from DataGridViewCell)
ContextMenuStrip ContextMenuStrip ContextMenuStrip ContextMenuStrip

Obtiene o establece el menú contextual asociado a la celda.Gets or sets the shortcut menu associated with the cell.

(Inherited from DataGridViewCell)
DataGridView DataGridView DataGridView DataGridView

Obtiene el control DataGridView asociado a este elemento.Gets the DataGridView control associated with this element.

(Inherited from DataGridViewElement)
DefaultNewRowValue DefaultNewRowValue DefaultNewRowValue DefaultNewRowValue

Obtiene el valor predeterminado de una celda de la fila de nuevos registros.Gets the default value for a cell in the row for new records.

(Inherited from DataGridViewCell)
Displayed Displayed Displayed Displayed

Obtiene un valor que indica si la celda se muestra actualmente en pantalla.Gets a value that indicates whether the cell is currently displayed on-screen.

(Inherited from DataGridViewHeaderCell)
EditedFormattedValue EditedFormattedValue EditedFormattedValue EditedFormattedValue

Obtiene el valor actual con formato de la celda, con independencia de si la celda está en modo de edición y no se ha confirmado el valor.Gets the current, formatted value of the cell, regardless of whether the cell is in edit mode and the value has not been committed.

(Inherited from DataGridViewCell)
EditType EditType EditType EditType

Obtiene el tipo del control de edición hospedado de la celda.Gets the type of the cell's hosted editing control.

(Inherited from DataGridViewCell)
ErrorIconBounds ErrorIconBounds ErrorIconBounds ErrorIconBounds

Obtiene los límites del icono de error para la celda.Gets the bounds of the error icon for the cell.

(Inherited from DataGridViewCell)
ErrorText ErrorText ErrorText ErrorText

Obtiene o establece el texto que describe una condición de error asociada a la celda.Gets or sets the text describing an error condition associated with the cell.

(Inherited from DataGridViewCell)
FormattedValue FormattedValue FormattedValue FormattedValue

Obtiene el valor de la celda con el formato para mostrar.Gets the value of the cell as formatted for display.

(Inherited from DataGridViewCell)
FormattedValueType FormattedValueType FormattedValueType FormattedValueType

Obtiene el tipo del valor con formato de la celda.Gets the type of the formatted value of the cell.

(Inherited from DataGridViewHeaderCell)
Frozen Frozen Frozen Frozen

Obtiene un valor que indica si la celda está inmovilizada.Gets a value indicating whether the cell is frozen.

(Inherited from DataGridViewHeaderCell)
HasStyle HasStyle HasStyle HasStyle

Obtiene un valor que indica si se ha establecido la propiedad Style.Gets a value indicating whether the Style property has been set.

(Inherited from DataGridViewCell)
InheritedState InheritedState InheritedState InheritedState

Obtiene el estado actual de la celda tal como lo hereda del estado de su fila y columna.Gets the current state of the cell as inherited from the state of its row and column.

(Inherited from DataGridViewCell)
InheritedStyle InheritedStyle InheritedStyle InheritedStyle

Obtiene el estilo aplicado actualmente a la celda.Gets the style currently applied to the cell.

(Inherited from DataGridViewCell)
IsInEditMode IsInEditMode IsInEditMode IsInEditMode

Obtiene un valor que indica si actualmente se está editando la celda.Gets a value indicating whether this cell is currently being edited.

(Inherited from DataGridViewCell)
OwningColumn OwningColumn OwningColumn OwningColumn

Obtiene la columna que contiene esta celda.Gets the column that contains this cell.

(Inherited from DataGridViewCell)
OwningRow OwningRow OwningRow OwningRow

Obtiene la fila que contiene esta celda.Gets the row that contains this cell.

(Inherited from DataGridViewCell)
PreferredSize PreferredSize PreferredSize PreferredSize

Obtiene el tamaño, en píxeles, de un área rectangular en la que cabe la celda.Gets the size, in pixels, of a rectangular area into which the cell can fit.

(Inherited from DataGridViewCell)
ReadOnly ReadOnly ReadOnly ReadOnly

Obtiene un valor que indica si la celda de encabezado es de sólo lectura.Gets a value indicating whether the header cell is read-only.

(Inherited from DataGridViewHeaderCell)
Resizable Resizable Resizable Resizable

Obtiene un valor que indica si se puede cambiar el tamaño de la celda.Gets a value indicating whether the cell is resizable.

(Inherited from DataGridViewHeaderCell)
RowIndex RowIndex RowIndex RowIndex

Obtiene el índice de la fila primaria de la celda.Gets the index of the cell's parent row.

(Inherited from DataGridViewCell)
Selected Selected Selected Selected

Obtiene o establece un valor que indica si la celda está seleccionada.Gets or sets a value indicating whether the cell is selected.

(Inherited from DataGridViewHeaderCell)
Size Size Size Size

Obtiene el tamaño de la celda.Gets the size of the cell.

(Inherited from DataGridViewCell)
SortGlyphDirection SortGlyphDirection SortGlyphDirection SortGlyphDirection

Obtiene o establece un valor que indica qué tipo de glifo se muestra.Gets or sets a value indicating which sort glyph is displayed.

(Inherited from DataGridViewColumnHeaderCell)
State State State State

Obtiene el estado de la interfaz de usuario del elemento.Gets the user interface (UI) state of the element.

(Inherited from DataGridViewElement)
Style Style Style Style

Obtiene o establece el estilo de la celda.Gets or sets the style for the cell.

(Inherited from DataGridViewCell)
Tag Tag Tag Tag

Obtiene o establece el objeto que contiene datos complementarios sobre la celda.Gets or sets the object that contains supplemental data about the cell.

(Inherited from DataGridViewCell)
ToolTipText ToolTipText ToolTipText ToolTipText

Obtiene o establece el texto de información sobre herramientas asociado a esta celda.Gets or sets the ToolTip text associated with this cell.

(Inherited from DataGridViewCell)
Value Value Value Value

Obtiene o establece el valor asociado a esta celda.Gets or sets the value associated with this cell.

(Inherited from DataGridViewCell)
ValueType ValueType ValueType ValueType

Obtiene el tipo del valor almacenado en la celda.Gets the type of the value stored in the cell.

(Inherited from DataGridViewHeaderCell)
Visible Visible Visible Visible

Obtiene un valor que indica si la celda está visible o no.Gets a value indicating whether or not the cell is visible.

(Inherited from DataGridViewHeaderCell)

Se aplica a

Consulte también: