Export (0) Print
Expand All
Expand Minimize

DataGridView Methods

(see also Protected Methods )
  Name Description
Public method AdjustColumnHeaderBorderStyle Adjusts the DataGridViewAdvancedBorderStyle for a column header cell of a DataGridView that is currently being painted.
Public method AreAllCellsSelected Returns a value indicating whether all the DataGridView cells are currently selected.
Public method AutoResizeColumn Overloaded. Adjusts the width of the specified column to fit the contents of its cells.
Public method AutoResizeColumnHeadersHeight Overloaded. Adjusts the height of the column headers to fit the header contents.
Public method AutoResizeColumns Overloaded. Adjusts the width of all columns to fit the contents of their cells.
Public method AutoResizeRow Overloaded. Adjusts the height of the specified row to fit the contents of its cells.
Public method AutoResizeRowHeadersWidth Overloaded. Adjusts the width of the row headers to fit the header contents.
Public method AutoResizeRows Overloaded. Adjusts the heights of some or all rows to fit their contents.
Public method BeginEdit Puts the current cell in edit mode.
Public method BeginInvoke  Overloaded. Executes a delegate asynchronously on the thread that the control's underlying handle was created on. (inherited from Control)
Public method BringToFront  Brings the control to the front of the z-order. (inherited from Control)
Public method CancelEdit Cancels edit mode for the currently selected cell and discards any changes.
Public method ClearSelection Overloaded. Cancels the selection of currently selected cells.
Public method CommitEdit Commits changes in the current cell to the data cache without ending edit mode.
Public method Contains  Retrieves a value indicating whether the specified control is a child of the control. (inherited from Control)
Public method CreateControl  Forces the creation of the control, including the creation of the handle and any child controls. (inherited from Control)
Public method CreateGraphics  Creates the Graphics for the control. (inherited from Control)
Public method CreateObjRef  Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (inherited from MarshalByRefObject)
Public method DisplayedColumnCount Returns the number of columns displayed to the user.
Public method DisplayedRowCount Returns the number of rows displayed to the user.
Public method Dispose Overloaded. Releases all resources used by the DataGridView control.
Public method DoDragDrop  Begins a drag-and-drop operation. (inherited from Control)
Public method DrawToBitmap  Supports rendering to the specified bitmap. (inherited from Control)
Public method EndEdit Overloaded. Commits and ends the edit operation on the current cell.
Public method EndInvoke  Retrieves the return value of the asynchronous operation represented by the IAsyncResult passed. (inherited from Control)
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method FindForm  Retrieves the form that the control is on. (inherited from Control)
Public method Focus  Sets input focus to the control. (inherited from Control)
Public method Static FromChildHandle  Retrieves the control that contains the specified handle. (inherited from Control)
Public method Static FromHandle  Returns the control that is currently associated with the specified handle. (inherited from Control)
Public method GetCellCount Gets the number of cells that satisfy the provided filter.
Public method GetCellDisplayRectangle Returns the rectangle that represents the display area for a cell.
Public method GetChildAtPoint  Overloaded. Retrieves the child control at a specified location. (inherited from Control)
Public method GetClipboardContent Retrieves the formatted values that represent the contents of the selected cells for copying to the Clipboard.
Public method GetColumnDisplayRectangle Returns the rectangle that represents the display area for a column, as determined by the column index.
Public method GetContainerControl  Returns the next ContainerControl up the control's chain of parent controls. (inherited from Control)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetLifetimeService  Retrieves the current lifetime service object that controls the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method GetNextControl  Retrieves the next control forward or back in the tab order of child controls. (inherited from Control)
Public method GetPreferredSize  Retrieves the size of a rectangular area into which a control can be fitted. (inherited from Control)
Public method GetRowDisplayRectangle Returns the rectangle that represents the display area for a row, as determined by the row index.
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Hide  Conceals the control from the user. (inherited from Control)
Public method HitTest Returns location information, such as row and column indices, given x- and y-coordinates.
Public method InitializeLifetimeService  Obtains a lifetime service object to control the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method Invalidate  Overloaded. Invalidates a specific region of the control and causes a paint message to be sent to the control. (inherited from Control)
Public method InvalidateCell Overloaded. Invalidates a cell in the DataGridView, forcing it to be repainted.
Public method InvalidateColumn Invalidates the specified column of the DataGridView, forcing it to be repainted.
Public method InvalidateRow Invalidates the specified row of the DataGridView, forcing it to be repainted.
Public method Invoke  Overloaded. Executes a delegate on the thread that owns the control's underlying window handle. (inherited from Control)
Public method Static IsKeyLocked  Determines whether the CAPS LOCK, NUM LOCK, or SCROLL LOCK key is in effect. (inherited from Control)
Public method Static IsMnemonic  Determines if the specified character is the mnemonic character assigned to the control in the specified string. (inherited from Control)
Public method NotifyCurrentCellDirty Notifies the DataGridView that the current cell has uncommitted changes.
Public method PerformLayout  Overloaded. Forces the control to apply layout logic to child controls. (inherited from Control)
Public method PointToClient  Computes the location of the specified screen point into client coordinates. (inherited from Control)
Public method PointToScreen  Computes the location of the specified client point into screen coordinates. (inherited from Control)
Public method PreProcessControlMessage  Preprocesses keyboard or input messages within the message loop before they are dispatched. (inherited from Control)
Public method PreProcessMessage  Preprocesses keyboard or input messages within the message loop before they are dispatched. (inherited from Control)
Public method RectangleToClient  Computes the size and location of the specified screen rectangle in client coordinates. (inherited from Control)
Public method RectangleToScreen  Computes the size and location of the specified client rectangle in screen coordinates. (inherited from Control)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Refresh  Forces the control to invalidate its client area and immediately redraw itself and any child controls. (inherited from Control)
Public method RefreshEdit Refreshes the value of the current cell with the underlying cell value when the cell is in edit mode, discarding any previous value.
Public method ResetBackColor  Resets the BackColor property to its default value. (inherited from Control)
Public method ResetBindings  Causes a control bound to the BindingSource to reread all the items in the list and refresh their displayed values. (inherited from Control)
Public method ResetCursor  Resets the Cursor property to its default value. (inherited from Control)
Public method ResetFont  Resets the Font property to its default value. (inherited from Control)
Public method ResetForeColor  Resets the ForeColor property to its default value. (inherited from Control)
Public method ResetImeMode  Resets the ImeMode property to its default value. (inherited from Control)
Public method ResetRightToLeft  Resets the RightToLeft property to its default value. (inherited from Control)
Public method ResetText Overridden. Resets the Text property to its default value.
Public method ResumeLayout  Overloaded. Resumes the usual layout logic. (inherited from Control)
Public method Scale  Overloaded. Scales the control and any child controls. (inherited from Control)
Public method Select  Overloaded. Activates a control. (inherited from Control)
Public method SelectAll Selects all the cells in the DataGridView.
Public method SelectNextControl  Activates the next control. (inherited from Control)
Public method SendToBack  Sends the control to the back of the z-order. (inherited from Control)
Public method SetBounds  Overloaded. Sets the bounds of the control. (inherited from Control)
Public method Show  Displays the control to the user. (inherited from Control)
Public method Sort Overloaded. Sorts the contents of the DataGridView control.
Public method SuspendLayout  Temporarily suspends the layout logic for the control. (inherited from Control)
Public method ToString  Returns a String containing the name of the Component, if any. This method should not be overridden. (inherited from Component)
Public method Update  Causes the control to redraw the invalidated regions within its client area. (inherited from Control)
Public method UpdateCellErrorText Forces the cell at the specified location to update its error text.
Public method UpdateCellValue Forces the control to update its display of the cell at the specified location based on its new value, applying any automatic sizing modes currently in effect.
Public method UpdateRowErrorText Overloaded. Forces one or more rows to update their error text.
Public method UpdateRowHeightInfo Forces the specified row or rows to update their height information.
Top

  Name Description
Protected method AccessibilityNotifyClients  Overloaded. Notifies the accessibility client applications of AccessibleEvents. (inherited from Control)
Protected method AccessibilityNotifyCurrentCellChanged Notifies the accessible client applications when a new cell becomes the current cell.
Protected method AutoResizeColumn Overloaded. Adjusts the width of the specified column to fit the contents of its cells.
Protected method AutoResizeColumnHeadersHeight Overloaded. Adjusts the height of the column headers to fit the header contents.
Protected method AutoResizeColumns Overloaded. Adjusts the width of all columns to fit the contents of their cells.
Protected method AutoResizeRow Overloaded. Adjusts the height of the specified row to fit the contents of its cells.
Protected method AutoResizeRowHeadersWidth Overloaded. Adjusts the width of the row headers to fit the header contents.
Protected method AutoResizeRows Overloaded. Adjusts the heights of some or all rows to fit their contents.
Protected method ClearSelection Overloaded. Cancels the selection of currently selected cells.
Protected method CreateAccessibilityInstance Overridden. Creates a new accessible object for the DataGridView.
Protected method CreateColumnsInstance Creates and returns a new DataGridViewColumnCollection.
Protected method CreateControlsInstance Overridden. Creates and returns a new Control.ControlCollection that can be cast to type DataGridView.DataGridViewControlCollection.
Protected method CreateHandle  Creates a handle for the control. (inherited from Control)
Protected method CreateRowsInstance Creates and returns a new DataGridViewRowCollection.
Protected method DefWndProc  Sends the specified message to the default window procedure. (inherited from Control)
Protected method DestroyHandle  Destroys the handle associated with the control. (inherited from Control)
Protected method Dispose Overloaded. Overridden. Releases all resources used by the DataGridView control.
Protected method Finalize  Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (inherited from Component)
Protected method GetAccessibilityObjectById Overridden.  
Protected method GetAutoSizeMode  Retrieves a value indicating how a control will behave when its AutoSize property is enabled. (inherited from Control)
Protected method GetScaledBounds  Retrieves the bounds within which the control is scaled. (inherited from Control)
Protected method GetService  Returns an object that represents a service provided by the Component or by its Container. (inherited from Component)
Protected method GetStyle  Retrieves the value of the specified control style bit for the control. (inherited from Control)
Protected method GetTopLevel  Determines if the control is a top-level control. (inherited from Control)
Protected method InitLayout  Called after the control has been added to another container. (inherited from Control)
Protected method InvokeGotFocus  Raises the GotFocus event for the specified control. (inherited from Control)
Protected method InvokeLostFocus  Raises the LostFocus event for the specified control. (inherited from Control)
Protected method InvokeOnClick  Raises the Click event for the specified control. (inherited from Control)
Protected method InvokePaint  Raises the Paint event for the specified control. (inherited from Control)
Protected method InvokePaintBackground  Raises the PaintBackground event for the specified control. (inherited from Control)
Protected method IsInputChar Overridden. Determines whether a character is an input character that the DataGridView recognizes.
Protected method IsInputKey Overridden.  
Protected method MemberwiseClone  Overloaded. (inherited from MarshalByRefObject)
Protected method NotifyInvalidate  Raises the Invalidated event with a specified region of the control to invalidate. (inherited from Control)
Protected method OnAllowUserToAddRowsChanged Raises the AllowUserToAddRowsChanged event.
Protected method OnAllowUserToDeleteRowsChanged Raises the AllowUserToDeleteRowsChanged event.
Protected method OnAllowUserToOrderColumnsChanged Raises the AllowUserToOrderColumnsChanged event.
Protected method OnAllowUserToResizeColumnsChanged Raises the AllowUserToResizeColumnsChanged event.
Protected method OnAllowUserToResizeRowsChanged Raises the AllowUserToResizeRowsChanged event.
Protected method OnAlternatingRowsDefaultCellStyleChanged Raises the AlternatingRowsDefaultCellStyleChanged event.
Protected method OnAutoGenerateColumnsChanged Raises the AutoGenerateColumnsChanged event.
Protected method OnAutoSizeChanged  Raises the AutoSizeChanged event. (inherited from Control)
Protected method OnAutoSizeColumnModeChanged Raises the AutoSizeColumnModeChanged event.
Protected method OnAutoSizeColumnsModeChanged Raises the AutoSizeColumnsModeChanged event.
Protected method OnAutoSizeRowsModeChanged Raises the AutoSizeRowsModeChanged event.
Protected method OnBackColorChanged  Raises the BackColorChanged event. (inherited from Control)
Protected method OnBackgroundColorChanged Raises the BackgroundColorChanged event.
Protected method OnBackgroundImageChanged  Raises the BackgroundImageChanged event. (inherited from Control)
Protected method OnBackgroundImageLayoutChanged  Raises the BackgroundImageLayoutChanged event. (inherited from Control)
Protected method OnBindingContextChanged Overridden. Raises the BindingContextChanged event.
Protected method OnBorderStyleChanged Raises the BorderStyleChanged event.
Protected method OnCancelRowEdit Raises the CancelRowEdit event.
Protected method OnCausesValidationChanged  Raises the CausesValidationChanged event. (inherited from Control)
Protected method OnCellBeginEdit Raises the CellBeginEdit event.
Protected method OnCellBorderStyleChanged Raises the CellBorderStyleChanged event.
Protected method OnCellClick Raises the CellClick event.
Protected method OnCellContentClick Raises the CellContentClick event.
Protected method OnCellContentDoubleClick Raises the CellContentDoubleClick event.
Protected method OnCellContextMenuStripChanged Raises the CellContextMenuStripChanged event.
Protected method OnCellContextMenuStripNeeded Raises the CellContextMenuStripNeeded event.
Protected method OnCellDoubleClick Raises the CellDoubleClick event.
Protected method OnCellEndEdit Raises the CellEndEdit event.
Protected method OnCellEnter Raises the CellEnter event.
Protected method OnCellErrorTextChanged Raises the CellErrorTextChanged event.
Protected method OnCellErrorTextNeeded Raises the CellErrorTextNeeded event.
Protected method OnCellFormatting Raises the CellFormatting event.
Protected method OnCellLeave Raises the CellLeave event.
Protected method OnCellMouseClick Raises the CellMouseClick event.
Protected method OnCellMouseDoubleClick Raises the CellMouseDoubleClick event.
Protected method OnCellMouseDown Raises the CellMouseDown event.
Protected method OnCellMouseEnter Raises the CellMouseEnter event.
Protected method OnCellMouseLeave Raises the CellMouseLeave event.
Protected method OnCellMouseMove Raises the CellMouseMove event.
Protected method OnCellMouseUp Raises the CellMouseUp event.
Protected method OnCellPainting Raises the CellPainting event.
Protected method OnCellParsing Raises the CellParsing event.
Protected method OnCellStateChanged Raises the CellStateChanged event.
Protected method OnCellStyleChanged Raises the CellStyleChanged event.
Protected method OnCellStyleContentChanged Raises the CellStyleContentChanged event.
Protected method OnCellToolTipTextChanged Raises the CellToolTipTextChanged event.
Protected method OnCellToolTipTextNeeded Raises the CellToolTipTextNeeded event.
Protected method OnCellValidated Raises the CellValidated event.
Protected method OnCellValidating Raises the CellValidating event.
Protected method OnCellValueChanged Raises the CellValueChanged event.
Protected method OnCellValueNeeded Raises the CellValueNeeded event.
Protected method OnCellValuePushed Raises the CellValuePushed event.
Protected method OnChangeUICues  Raises the ChangeUICues event. (inherited from Control)
Protected method OnClick  Raises the Click event. (inherited from Control)
Protected method OnClientSizeChanged  Raises the ClientSizeChanged event. (inherited from Control)
Protected method OnColumnAdded Raises the ColumnAdded event.
Protected method OnColumnContextMenuStripChanged Raises the ColumnContextMenuStripChanged event.
Protected method OnColumnDataPropertyNameChanged Raises the ColumnDataPropertyNameChanged event.
Protected method OnColumnDefaultCellStyleChanged Raises the ColumnDefaultCellStyleChanged event.
Protected method OnColumnDisplayIndexChanged Raises the ColumnDisplayIndexChanged event.
Protected method OnColumnDividerDoubleClick Raises the ColumnDividerDoubleClick event.
Protected method OnColumnDividerWidthChanged Raises the ColumnDividerWidthChanged event.
Protected method OnColumnHeaderCellChanged Raises the ColumnHeaderCellChanged event.
Protected method OnColumnHeaderMouseClick Raises the ColumnHeaderMouseClick event.
Protected method OnColumnHeaderMouseDoubleClick Raises the ColumnHeaderMouseDoubleClick event.
Protected method OnColumnHeadersBorderStyleChanged Raises the ColumnHeadersBorderStyleChanged event.
Protected method OnColumnHeadersDefaultCellStyleChanged Raises the ColumnHeadersDefaultCellStyleChanged event.
Protected method OnColumnHeadersHeightChanged Raises the ColumnHeadersHeightChanged event.
Protected method OnColumnHeadersHeightSizeModeChanged Raises the ColumnHeadersHeightSizeModeChanged event.
Protected method OnColumnMinimumWidthChanged Raises the ColumnMinimumWidthChanged event.
Protected method OnColumnNameChanged Raises the ColumnNameChanged event.
Protected method OnColumnRemoved Raises the ColumnRemoved event.
Protected method OnColumnSortModeChanged Raises the ColumnSortModeChanged event.
Protected method OnColumnStateChanged Raises the ColumnStateChanged event.
Protected method OnColumnToolTipTextChanged Raises the ColumnToolTipTextChanged event.
Protected method OnColumnWidthChanged Raises the ColumnWidthChanged event.
Protected method OnContextMenuChanged  Raises the ContextMenuChanged event. (inherited from Control)
Protected method OnContextMenuStripChanged  Raises the ContextMenuStripChanged event. (inherited from Control)
Protected method OnControlAdded  Raises the ControlAdded event. (inherited from Control)
Protected method OnControlRemoved  Raises the ControlRemoved event. (inherited from Control)
Protected method OnCreateControl  Raises the CreateControl method. (inherited from Control)
Protected method OnCurrentCellChanged Raises the CurrentCellChanged event.
Protected method OnCurrentCellDirtyStateChanged Raises the CurrentCellDirtyStateChanged event.
Protected method OnCursorChanged Overridden. Raises the CursorChanged event and updates the UserSetCursor property if the cursor was changed in user code.
Protected method OnDataBindingComplete Raises the DataBindingComplete event.
Protected method OnDataError Raises the DataError event.
Protected method OnDataMemberChanged Raises the DataMemberChanged event.
Protected method OnDataSourceChanged Raises the DataSourceChanged event.
Protected method OnDefaultCellStyleChanged Raises the DefaultCellStyleChanged event.
Protected method OnDefaultValuesNeeded Raises the DefaultValuesNeeded event.
Protected method OnDockChanged  Raises the DockChanged event. (inherited from Control)
Protected method OnDoubleClick Overridden. Raises the DoubleClick event.
Protected method OnDragDrop  Raises the DragDrop event. (inherited from Control)
Protected method OnDragEnter  Raises the DragEnter event. (inherited from Control)
Protected method OnDragLeave  Raises the DragLeave event. (inherited from Control)
Protected method OnDragOver  Raises the DragOver event. (inherited from Control)
Protected method OnEditingControlShowing Raises the EditingControlShowing event.
Protected method OnEditModeChanged Raises the EditModeChanged event.
Protected method OnEnabledChanged Overridden.  
Protected method OnEnter Overridden. Raises the Enter event.
Protected method OnFontChanged Overridden. Raises the FontChanged event.
Protected method OnForeColorChanged Overridden. Raises the ForeColorChanged event.
Protected method OnGiveFeedback  Raises the GiveFeedback event. (inherited from Control)
Protected method OnGotFocus Overridden.  
Protected method OnGridColorChanged Raises the GridColorChanged event.
Protected method OnHandleCreated Overridden. Raises the HandleCreated event.
Protected method OnHandleDestroyed Overridden.  
Protected method OnHelpRequested  Raises the HelpRequested event. (inherited from Control)
Protected method OnImeModeChanged  Raises the ImeModeChanged event. (inherited from Control)
Protected method OnInvalidated  Raises the Invalidated event. (inherited from Control)
Protected method OnKeyDown Overridden. Raises the KeyDown event.
Protected method OnKeyPress Overridden. Raises the KeyPress event.
Protected method OnKeyUp Overridden. Raises the KeyUp event.
Protected method OnLayout Overridden. Raises the Layout event.
Protected method OnLeave Overridden. Raises the Leave event.
Protected method OnLocationChanged  Raises the LocationChanged event. (inherited from Control)
Protected method OnLostFocus Overridden.  
Protected method OnMarginChanged  Raises the MarginChanged event. (inherited from Control)
Protected method OnMouseCaptureChanged  Raises the MouseCaptureChanged event. (inherited from Control)
Protected method OnMouseClick Overridden. Raises the MouseClick event.
Protected method OnMouseDoubleClick Overridden.  
Protected method OnMouseDown Overridden. Raises the MouseDown event.
Protected method OnMouseEnter Overridden.  
Protected method OnMouseHover  Raises the MouseHover event. (inherited from Control)
Protected method OnMouseLeave Overridden. Raises the MouseLeave event.
Protected method OnMouseMove Overridden. Raises the MouseMove event.
Protected method OnMouseUp Overridden. Raises the MouseUp event.
Protected method OnMouseWheel Overridden.  
Protected method OnMove  Raises the Move event. (inherited from Control)
Protected method OnMultiSelectChanged Raises the MultiSelectChanged event.
Protected method OnNewRowNeeded Raises the NewRowNeeded event.
Protected method OnNotifyMessage  Notifies the control of Windows messages. (inherited from Control)
Protected method OnPaddingChanged  Raises the PaddingChanged event. (inherited from Control)
Protected method OnPaint Overridden. Raises the Paint event.
Protected method OnPaintBackground  Paints the background of the control. (inherited from Control)
Protected method OnParentBackColorChanged  Raises the BackColorChanged event when the BackColor property value of the control's container changes. (inherited from Control)
Protected method OnParentBackgroundImageChanged  Raises the BackgroundImageChanged event when the BackgroundImage property value of the control's container changes. (inherited from Control)
Protected method OnParentBindingContextChanged  Raises the BindingContextChanged event when the BindingContext property value of the control's container changes. (inherited from Control)
Protected method OnParentChanged  Raises the ParentChanged event. (inherited from Control)
Protected method OnParentCursorChanged  Raises the CursorChanged event. (inherited from Control)
Protected method OnParentEnabledChanged  Raises the EnabledChanged event when the Enabled property value of the control's container changes. (inherited from Control)
Protected method OnParentFontChanged  Raises the FontChanged event when the Font property value of the control's container changes. (inherited from Control)
Protected method OnParentForeColorChanged  Raises the ForeColorChanged event when the ForeColor property value of the control's container changes. (inherited from Control)
Protected method OnParentRightToLeftChanged  Raises the RightToLeftChanged event when the RightToLeft property value of the control's container changes. (inherited from Control)
Protected method OnParentVisibleChanged  Raises the VisibleChanged event when the Visible property value of the control's container changes. (inherited from Control)
Protected method OnPreviewKeyDown  Raises the PreviewKeyDown event. (inherited from Control)
Protected method OnPrint  Raises the Paint event. (inherited from Control)
Protected method OnQueryContinueDrag  Raises the QueryContinueDrag event. (inherited from Control)
Protected method OnReadOnlyChanged Raises the ReadOnlyChanged event.
Protected method OnRegionChanged  Raises the RegionChanged event. (inherited from Control)
Protected method OnResize Overridden. Raises the Resize event.
Protected method OnRightToLeftChanged Overridden.  
Protected method OnRowContextMenuStripChanged Raises the RowContextMenuStripChanged event.
Protected method OnRowContextMenuStripNeeded Raises the RowContextMenuStripNeeded event.
Protected method OnRowDefaultCellStyleChanged Raises the RowDefaultCellStyleChanged event.
Protected method OnRowDirtyStateNeeded Raises the RowDirtyStateNeeded event.
Protected method OnRowDividerDoubleClick Raises the RowDividerDoubleClick event.
Protected method OnRowDividerHeightChanged Raises the RowDividerHeightChanged event.
Protected method OnRowEnter Raises the RowEnter event.
Protected method OnRowErrorTextChanged Raises the RowErrorTextChanged event.
Protected method OnRowErrorTextNeeded Raises the RowErrorTextNeeded event.
Protected method OnRowHeaderCellChanged Raises the RowHeaderCellChanged event.
Protected method OnRowHeaderMouseClick Raises the RowHeaderMouseClick event.
Protected method OnRowHeaderMouseDoubleClick Raises the RowHeaderMouseDoubleClick event.
Protected method OnRowHeadersBorderStyleChanged Raises the RowHeadersBorderStyleChanged event.
Protected method OnRowHeadersDefaultCellStyleChanged Raises the RowHeadersDefaultCellStyleChanged event.
Protected method OnRowHeadersWidthChanged Raises the RowHeadersWidthChanged event.
Protected method OnRowHeadersWidthSizeModeChanged Raises the RowHeadersWidthSizeModeChanged event.
Protected method OnRowHeightChanged Raises the RowHeightChanged event.
Protected method OnRowHeightInfoNeeded Raises the RowHeightInfoNeeded event.
Protected method OnRowHeightInfoPushed Raises the RowHeightInfoPushed event.
Protected method OnRowLeave Raises the RowLeave event.
Protected method OnRowMinimumHeightChanged Raises the RowMinimumHeightChanged event.
Protected method OnRowPostPaint Raises the RowPostPaint event.
Protected method OnRowPrePaint Raises the RowPrePaint event.
Protected method OnRowsAdded Raises the RowsAdded event.
Protected method OnRowsDefaultCellStyleChanged Raises the RowsDefaultCellStyleChanged event.
Protected method OnRowsRemoved Raises the RowsRemoved event.
Protected method OnRowStateChanged Raises the RowStateChanged event.
Protected method OnRowUnshared Raises the RowUnshared event.
Protected method OnRowValidated Raises the RowValidated event.
Protected method OnRowValidating Raises the RowValidating event.
Protected method OnScroll Raises the Scroll event.
Protected method OnSelectionChanged Raises the SelectionChanged event.
Protected method OnSizeChanged  Raises the SizeChanged event. (inherited from Control)
Protected method OnSortCompare Raises the SortCompare event.
Protected method OnSorted Raises the Sorted event.
Protected method OnStyleChanged  Raises the StyleChanged event. (inherited from Control)
Protected method OnSystemColorsChanged  Raises the SystemColorsChanged event. (inherited from Control)
Protected method OnTabIndexChanged  Raises the TabIndexChanged event. (inherited from Control)
Protected method OnTabStopChanged  Raises the TabStopChanged event. (inherited from Control)
Protected method OnTextChanged  Raises the TextChanged event. (inherited from Control)
Protected method OnUserAddedRow Raises the UserAddedRow event.
Protected method OnUserDeletedRow Raises the UserDeletedRow event.
Protected method OnUserDeletingRow Raises the UserDeletingRow event.
Protected method OnValidated  Raises the Validated event. (inherited from Control)
Protected method OnValidating Overridden. Raises the Validating event.
Protected method OnVisibleChanged Overridden.  
Protected method PaintBackground Paints the background of the DataGridView.
Protected method ProcessAKey Processes the A key.
Protected method ProcessCmdKey  Processes a command key. (inherited from Control)
Protected method ProcessDataGridViewKey Processes keys used for navigating in the DataGridView.
Protected method ProcessDeleteKey Processes the DELETE key.
Protected method ProcessDialogChar  Processes a dialog character. (inherited from Control)
Protected method ProcessDialogKey Overridden. Processes keys, such as the TAB, ESCAPE, ENTER, and ARROW keys, used to control dialog boxes.
Protected method ProcessDownKey Processes the DOWN ARROW key.
Protected method ProcessEndKey Processes the END key.
Protected method ProcessEnterKey Processes the ENTER key.
Protected method ProcessEscapeKey Processes the ESC key.
Protected method ProcessF2Key Processes the F2 key.
Protected method ProcessHomeKey Processes the HOME key.
Protected method ProcessInsertKey Processes the INSERT key.
Protected method ProcessKeyEventArgs Overridden. Processes a key message and generates the appropriate control events.
Protected method ProcessKeyMessage  Processes a keyboard message. (inherited from Control)
Protected method ProcessKeyPreview Overridden. Previews a keyboard message.
Protected method ProcessLeftKey Processes the LEFT ARROW key.
Protected method ProcessMnemonic  Processes a mnemonic character. (inherited from Control)
Protected method ProcessNextKey Processes the PAGE DOWN key.
Protected method ProcessPriorKey Processes the PAGE UP key.
Protected method ProcessRightKey Processes the RIGHT ARROW key.
Protected method ProcessSpaceKey Processes the SPACEBAR.
Protected method ProcessTabKey Processes the TAB key.
Protected method ProcessUpKey Processes the UP ARROW key.
Protected method ProcessZeroKey Processes the 0 key.
Protected method RaiseDragEvent  Raises the appropriate drag event. (inherited from Control)
Protected method RaiseKeyEvent  Raises the appropriate key event. (inherited from Control)
Protected method RaiseMouseEvent  Raises the appropriate mouse event. (inherited from Control)
Protected method RaisePaintEvent  Raises the appropriate paint event. (inherited from Control)
Protected method RecreateHandle  Forces the re-creation of the handle for the control. (inherited from Control)
Protected method Static ReflectMessage  Reflects the specified message to the control that is bound to the specified handle. (inherited from Control)
Protected method ResetMouseEventArgs  Resets the control to handle the MouseLeave event. (inherited from Control)
Protected method RtlTranslateAlignment  Overloaded. Converts the current alignment to the appropriate alignment to support right-to-left text. (inherited from Control)
Protected method RtlTranslateContent  Converts the specified ContentAlignment to the appropriate ContentAlignment to support right-to-left text. (inherited from Control)
Protected method RtlTranslateHorizontal  Converts the specified HorizontalAlignment to the appropriate HorizontalAlignment to support right-to-left text. (inherited from Control)
Protected method RtlTranslateLeftRight  Converts the specified LeftRightAlignment to the appropriate LeftRightAlignment to support right-to-left text. (inherited from Control)
Protected method ScaleControl  Scales a control's location, size, padding and margin. (inherited from Control)
Protected method ScaleCore  This method is not relevant for this class. (inherited from Control)
Protected method Select  Overloaded. Activates a control. (inherited from Control)
Protected method SetAutoSizeMode  Sets a value indicating how a control will behave when its AutoSize property is enabled. (inherited from Control)
Protected method SetBoundsCore Overridden. This member overrides Control.SetBoundsCore.
Protected method SetClientSizeCore  Sets the size of the client area of the control. (inherited from Control)
Protected method SetCurrentCellAddressCore Sets the currently active cell.
Protected method SetSelectedCellCore Changes the selection state of the cell with the specified row and column indexes.
Protected method SetSelectedColumnCore Changes the selection state of the column with the specified index.
Protected method SetSelectedRowCore Changes the selection state of the row with the specified index.
Protected method SetStyle  Sets a specified ControlStyles flag to either true or false. (inherited from Control)
Protected method SetTopLevel  Sets the control as the top-level control. (inherited from Control)
Protected method SetVisibleCore  Sets the control to the specified visible state. (inherited from Control)
Protected method SizeFromClientSize  Determines the size of the entire control from the height and width of its client area. (inherited from Control)
Protected method UpdateBounds  Overloaded. Updates the bounds of the control. (inherited from Control)
Protected method UpdateStyles  Forces the assigned styles to be reapplied to the control. (inherited from Control)
Protected method UpdateZOrder  Updates the control in its parent's z-order. (inherited from Control)
Protected method WndProc Overridden. Processes window messages.
Top

Community Additions

ADD
Show:
© 2014 Microsoft