This topic has not yet been rated - Rate this topic

WorkItemResultGrid Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

This class provides a simple interface to display work items.

Given a IResultListDataProvider and a ResultOptions object (or a WorkItemStore and a WIQL statement) the grid will display the contents of the WorkItemCollection or result tree for link queries.

You may add your own columns by use of Columns.Add and by implementing the event CellValueNeeded.

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      System.Windows.Forms.Control
        System.Windows.Forms.DataGridView
          Microsoft.TeamFoundation.WorkItemTracking.Controls.WorkItemResultGrid

Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Controls
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Controls (in Microsoft.TeamFoundation.WorkItemTracking.Controls.dll)
public class WorkItemResultGrid : DataGridView

The WorkItemResultGrid type exposes the following members.

  NameDescription
Public methodWorkItemResultGrid()Initializes a new instance of the WorkItemResultGrid using TFS themed color styling.
Public methodWorkItemResultGrid(Boolean)Initializes a new instance of the WorkItemResultGrid.
Top
  NameDescription
Public propertyAccessibilityObjectGets the AccessibleObject assigned to the control. (Inherited from Control.)
Public propertyAccessibleDefaultActionDescriptionGets or sets the default action description of the control for use by accessibility client applications. (Inherited from Control.)
Public propertyAccessibleDescriptionGets or sets the description of the control used by accessibility client applications. (Inherited from Control.)
Public propertyAccessibleNameGets or sets the name of the control used by accessibility client applications. (Inherited from Control.)
Public propertyAccessibleRoleGets or sets the accessible role of the control (Inherited from Control.)
Public propertyAdjustedTopLeftHeaderBorderStyleGets the border style for the upper-left cell in the DataGridView. (Inherited from DataGridView.)
Public propertyAdvancedCellBorderStyleGets the border style of the cells in the DataGridView. (Inherited from DataGridView.)
Public propertyAdvancedColumnHeadersBorderStyleGets the border style of the column header cells in the DataGridView. (Inherited from DataGridView.)
Public propertyAdvancedRowHeadersBorderStyleGets the border style of the row header cells in the DataGridView. (Inherited from DataGridView.)
Public propertyAllowDropGets or sets a value indicating whether the control can accept data that the user drags onto it. (Inherited from Control.)
Public propertyAllowUserToAddRowsGets or sets a value indicating whether the option to add rows is displayed to the user. (Inherited from DataGridView.)
Public propertyAllowUserToDeleteRowsGets or sets a value indicating whether the user is allowed to delete rows from the DataGridView. (Inherited from DataGridView.)
Public propertyAllowUserToOrderColumnsGets or sets a value indicating whether manual column repositioning is enabled. (Inherited from DataGridView.)
Public propertyAllowUserToResizeColumnsGets or sets a value indicating whether users can resize columns. (Inherited from DataGridView.)
Public propertyAllowUserToResizeRowsGets or sets a value indicating whether users can resize rows. (Inherited from DataGridView.)
Public propertyAlternatingRowsDefaultCellStyleGets or sets the default cell style applied to odd-numbered rows of the DataGridView. (Inherited from DataGridView.)
Public propertyAnchorGets or sets the edges of the container to which a control is bound and determines how a control is resized with its parent. (Inherited from Control.)
Public propertyAutoGenerateColumnsGets or sets a value indicating whether columns are created automatically when the DataSource or DataMember properties are set. (Inherited from DataGridView.)
Public propertyAutoScrollOffsetGets or sets where this control is scrolled to in ScrollControlIntoView. (Inherited from Control.)
Public propertyAutoSizeThis property is not relevant for this class. (Inherited from DataGridView.)
Public propertyAutoSizeColumnsModeGets or sets a value indicating how column widths are determined. (Inherited from DataGridView.)
Public propertyAutoSizeRowsModeGets or sets a value indicating how row heights are determined. (Inherited from DataGridView.)
Public propertyBackColorInfrastructure. Gets or sets the background color for the control. (Inherited from DataGridView.)
Public propertyBackgroundColorGets or sets the background color of the DataGridView. (Inherited from DataGridView.)
Public propertyBackgroundImageInfrastructure. Gets or sets the background image displayed in the control. (Inherited from DataGridView.)
Public propertyBackgroundImageLayoutInfrastructure. Gets or sets the background image layout as defined in the ImageLayout enumeration. (Inherited from DataGridView.)
Public propertyBindingContextGets or sets the BindingContext for the control. (Inherited from Control.)
Public propertyBoldDirtyItems
Public propertyBorderStyleGets or sets the border style for the DataGridView. (Inherited from DataGridView.)
Public propertyBottomGets the distance, in pixels, between the bottom edge of the control and the top edge of its container's client area. (Inherited from Control.)
Public propertyBoundsGets or sets the size and location of the control including its nonclient elements, in pixels, relative to the parent control. (Inherited from Control.)
Protected propertyCanEnableImeGets a value indicating whether the ImeMode property can be set to an active value, to enable IME support. (Inherited from DataGridView.)
Public propertyCanFocusGets a value indicating whether the control can receive focus. (Inherited from Control.)
Protected propertyCanRaiseEventsDetermines if events can be raised on the control. (Inherited from Control.)
Public propertyCanSelectGets a value indicating whether the control can be selected. (Inherited from Control.)
Public propertyCaptureGets or sets a value indicating whether the control has captured the mouse. (Inherited from Control.)
Public propertyCausesValidationGets or sets a value indicating whether the control causes validation to be performed on any controls that require validation when it receives focus. (Inherited from Control.)
Public propertyCellBorderStyleGets the cell border style for the DataGridView. (Inherited from DataGridView.)
Public propertyClientRectangleGets the rectangle that represents the client area of the control. (Inherited from Control.)
Public propertyClientSizeGets or sets the height and width of the client area of the control. (Inherited from Control.)
Public propertyClipboardCopyModeGets or sets a value that indicates whether users can copy cell text values to the Clipboard and whether row and column header text is included. (Inherited from DataGridView.)
Public propertyColumnCountGets or sets the number of columns displayed in the DataGridView. (Inherited from DataGridView.)
Public propertyColumnHeadersBorderStyleGets the border style applied to the column headers. (Inherited from DataGridView.)
Public propertyColumnHeadersDefaultCellStyleGets or sets the default column header style. (Inherited from DataGridView.)
Public propertyColumnHeadersHeightGets or sets the height, in pixels, of the column headers row (Inherited from DataGridView.)
Public propertyColumnHeadersHeightSizeModeGets or sets a value indicating whether the height of the column headers is adjustable and whether it can be adjusted by the user or is automatically adjusted to fit the contents of the headers. (Inherited from DataGridView.)
Public propertyColumnHeadersVisibleGets or sets a value indicating whether the column header row is displayed. (Inherited from DataGridView.)
Public propertyColumnsGets a collection that contains all the columns in the control. (Inherited from DataGridView.)
Public propertyCompanyNameGets the name of the company or creator of the application containing the control. (Inherited from Control.)
Public propertyContainerGets the IContainer that contains the Component. (Inherited from Component.)
Public propertyContainsFocusGets a value indicating whether the control, or one of its child controls, currently has the input focus. (Inherited from Control.)
Public propertyContextMenuGets or sets the shortcut menu associated with the control. (Inherited from Control.)
Public propertyContextMenuStripGets or sets the ContextMenuStrip associated with this control. (Inherited from Control.)
Public propertyControlsGets the collection of controls contained within the control. (Inherited from Control.)
Public propertyCreatedGets a value indicating whether the control has been created. (Inherited from Control.)
Protected propertyCreateParamsGets the required creation parameters when the control handle is created. (Inherited from Control.)
Public propertyCurrentCellGets or sets the currently active cell. (Inherited from DataGridView.)
Public propertyCurrentCellAddressGets the row and column indexes of the currently active cell. (Inherited from DataGridView.)
Public propertyCurrentRowGets the row containing the current cell. (Inherited from DataGridView.)
Public propertyCursorGets or sets the cursor that is displayed when the mouse pointer is over the control. (Inherited from Control.)
Public propertyDataBindingsGets the data bindings for the control. (Inherited from Control.)
Public propertyDataMemberGets or sets the name of the list or table in the data source for which the DataGridView is displaying data. (Inherited from DataGridView.)
Public propertyDataSourceGets or sets the data source that the DataGridView is displaying data for. (Inherited from DataGridView.)
Public propertyDefaultCellStyleGets or sets the default cell style to be applied to the cells in the DataGridView if no other cell style properties are set. (Inherited from DataGridView.)
Protected propertyDefaultCursorGets or sets the default cursor for the control. (Inherited from Control.)
Protected propertyDefaultImeModeGets the default Input Method Editor (IME) mode supported by the control. (Inherited from Control.)
Protected propertyDefaultMarginGets the space, in pixels, that is specified by default between controls. (Inherited from Control.)
Protected propertyDefaultMaximumSizeGets the length and height, in pixels, that is specified as the default maximum size of a control. (Inherited from Control.)
Protected propertyDefaultMinimumSizeGets the length and height, in pixels, that is specified as the default minimum size of a control. (Inherited from Control.)
Protected propertyDefaultPaddingGets the internal spacing, in pixels, of the contents of a control. (Inherited from Control.)
Protected propertyDefaultSizeGets the default initial size of the control. (Inherited from DataGridView.)
Protected propertyDesignModeGets a value that indicates whether the Component is currently in design mode. (Inherited from Component.)
Public propertyDisplayIsDirtyColumn
Public propertyDisplayRectangleGets the rectangle that represents the display area of the control. (Inherited from DataGridView.)
Public propertyDisplayRowHeader
Public propertyDisposingGets a value indicating whether the base Control class is in the process of disposing. (Inherited from Control.)
Public propertyDockGets or sets which control borders are docked to its parent control and determines how a control is resized with its parent. (Inherited from Control.)
Protected propertyDoubleBufferedGets or sets a value indicating whether this control should redraw its surface using a secondary buffer to reduce or prevent flicker. (Inherited from Control.)
Public propertyEditingControlGets the control hosted by the current cell, if a cell with an editing control is in edit mode. (Inherited from DataGridView.)
Public propertyEditingPanelGets the panel that contains the EditingControl. (Inherited from DataGridView.)
Public propertyEditModeGets or sets a value indicating how to begin editing a cell. (Inherited from DataGridView.)
Public propertyEnabledGets or sets a value indicating whether the control can respond to user interaction. (Inherited from Control.)
Public propertyEnableHeadersVisualStylesGets or sets a value indicating whether row and column headers use the visual styles of the user's current theme if visual styles are enabled for the application. (Inherited from DataGridView.)
Protected propertyEventsGets the list of event handlers that are attached to this Component. (Inherited from Component.)
Public propertyFirstDisplayedCellGets or sets the first cell currently displayed in the DataGridView; typically, this cell is in the upper left corner. (Inherited from DataGridView.)
Public propertyFirstDisplayedScrollingColumnHiddenWidthGets the width of the portion of the column that is currently scrolled out of view.. (Inherited from DataGridView.)
Public propertyFirstDisplayedScrollingColumnIndexGets or sets the index of the column that is the first column displayed on the DataGridView. (Inherited from DataGridView.)
Public propertyFirstDisplayedScrollingRowIndexGets or sets the index of the row that is the first row displayed on the DataGridView. (Inherited from DataGridView.)
Public propertyFocusedGets a value indicating whether the control has input focus. (Inherited from Control.)
Public propertyFontGets or sets the font of the text displayed by the DataGridView. (Inherited from DataGridView.)
Protected propertyFontHeightGets or sets the height of the font of the control. (Inherited from Control.)
Public propertyForeColorGets or sets the foreground color of the DataGridView. (Inherited from DataGridView.)
Public propertyGridColorGets or sets the color of the grid lines separating the cells of the DataGridView. (Inherited from DataGridView.)
Public propertyHandleGets the window handle that the control is bound to. (Inherited from Control.)
Public propertyHasChildrenGets a value indicating whether the control contains one or more child controls. (Inherited from Control.)
Public propertyHeightGets or sets the height of the control. (Inherited from Control.)
Protected propertyHorizontalScrollBarGets the horizontal scroll bar of the control. (Inherited from DataGridView.)
Public propertyHorizontalScrollingOffsetGets or sets the number of pixels by which the control is scrolled horizontally. (Inherited from DataGridView.)
Public propertyImeModeGets or sets the Input Method Editor (IME) mode of the control. (Inherited from Control.)
Protected propertyImeModeBaseGets or sets the IME mode of a control. (Inherited from Control.)
Public propertyInvokeRequiredGets a value indicating whether the caller must call an invoke method when making method calls to the control because the caller is on a different thread than the one the control was created on. (Inherited from Control.)
Public propertyIsAccessibleGets or sets a value indicating whether the control is visible to accessibility applications. (Inherited from Control.)
Public propertyIsCurrentCellDirtyGets a value indicating whether the current cell has uncommitted changes. (Inherited from DataGridView.)
Public propertyIsCurrentCellInEditModeGets a value indicating whether the currently active cell is being edited. (Inherited from DataGridView.)
Public propertyIsCurrentRowDirtyGets a value indicating whether the current row has uncommitted changes. (Inherited from DataGridView.)
Public propertyIsDisposedGets a value indicating whether the control has been disposed of. (Inherited from Control.)
Public propertyIsHandleCreatedGets a value indicating whether the control has a handle associated with it. (Inherited from Control.)
Public propertyIsMirroredGets a value indicating whether the control is mirrored. (Inherited from Control.)
Protected propertyIsResettingRows
Public propertyItem[Int32, Int32]Provides an indexer to get or set the cell located at the intersection of the column and row with the specified indexes. (Inherited from DataGridView.)
Public propertyItem[String, Int32]Provides an indexer to get or set the cell located at the intersection of the row with the specified index and the column with the specified name. (Inherited from DataGridView.)
Public propertyLayoutEngineGets a cached instance of the control's layout engine. (Inherited from Control.)
Public propertyLeftGets or sets the distance, in pixels, between the left edge of the control and the left edge of its container's client area. (Inherited from Control.)
Public propertyLocationGets or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its container. (Inherited from Control.)
Public propertyMarginGets or sets the space between controls. (Inherited from Control.)
Public propertyMaximumSizeGets or sets the size that is the upper limit that GetPreferredSize can specify. (Inherited from Control.)
Public propertyMinimumSizeGets or sets the size that is the lower limit that GetPreferredSize can specify. (Inherited from Control.)
Public propertyMultiSelectGets or sets a value indicating whether the user is allowed to select more than one cell, row, or column of the DataGridView at a time. (Inherited from DataGridView.)
Public propertyNameGets or sets the name of the control. (Inherited from Control.)
Public propertyNewRowIndexGets the index of the row for new records. (Inherited from DataGridView.)
Public propertyPaddingInfrastructure. This property is not relevant for this control. (Inherited from DataGridView.)
Public propertyParentGets or sets the parent container of the control. (Inherited from Control.)
Public propertyPauseBeforeFill
Public propertyPreferredSizeGets the size of a rectangular area into which the control can fit. (Inherited from Control.)
Public propertyPreferTfsVisualStyle
Public propertyProductNameGets the product name of the assembly containing the control. (Inherited from Control.)
Public propertyProductVersionGets the version of the assembly containing the control. (Inherited from Control.)
Public propertyReadOnlyGets or sets a value indicating whether the user can edit the cells of the DataGridView control. (Inherited from DataGridView.)
Public propertyRecreatingHandleGets a value indicating whether the control is currently re-creating its handle. (Inherited from Control.)
Public propertyRegionGets or sets the window region associated with the control. (Inherited from Control.)
Protected propertyRenderRightToLeft Obsolete. This property is now obsolete. (Inherited from Control.)
Protected propertyResizeRedrawGets or sets a value indicating whether the control redraws itself when resized. (Inherited from Control.)
Public propertyResultCount
Public propertyResultOptions
Public propertyRightGets the distance, in pixels, between the right edge of the control and the left edge of its container's client area. (Inherited from Control.)
Public propertyRightToLeftGets or sets a value indicating whether control's elements are aligned to support locales using right-to-left fonts. (Inherited from Control.)
Public propertyRowCountGets or sets the number of rows displayed in the DataGridView. (Inherited from DataGridView.)
Public propertyRowHeadersBorderStyleGets or sets the border style of the row header cells. (Inherited from DataGridView.)
Public propertyRowHeadersDefaultCellStyleGets or sets the default style applied to the row header cells. (Inherited from DataGridView.)
Public propertyRowHeadersVisibleGets or sets a value indicating whether the column that contains row headers is displayed. (Inherited from DataGridView.)
Public propertyRowHeadersWidthGets or sets the width, in pixels, of the column that contains the row headers. (Inherited from DataGridView.)
Public propertyRowHeadersWidthSizeModeGets or sets a value indicating whether the width of the row headers is adjustable and whether it can be adjusted by the user or is automatically adjusted to fit the contents of the headers. (Inherited from DataGridView.)
Public propertyRowsGets a collection that contains all the rows in the DataGridView control. (Inherited from DataGridView.)
Public propertyRowsDefaultCellStyleGets or sets the default style applied to the row cells of the DataGridView. (Inherited from DataGridView.)
Public propertyRowTemplateGets or sets the row that represents the template for all the rows in the control. (Inherited from DataGridView.)
Protected propertyScaleChildrenGets a value that determines the scaling of child controls. (Inherited from Control.)
Public propertyScrollBarsGets or sets the type of scroll bars to display for the DataGridView control. (Inherited from DataGridView.)
Public propertySelectedCellsGets the collection of cells selected by the user. (Inherited from DataGridView.)
Public propertySelectedColumnsGets the collection of columns selected by the user. (Inherited from DataGridView.)
Public propertySelectedRowsGets the collection of rows selected by the user. (Inherited from DataGridView.)
Public propertySelectionModeGets or sets a value indicating how the cells of the DataGridView can be selected. (Inherited from DataGridView.)
Public propertyShowCellErrorsGets or sets a value indicating whether to show cell errors. (Inherited from DataGridView.)
Public propertyShowCellToolTipsGets or sets a value indicating whether or not ToolTips will show when the mouse pointer pauses on a cell. (Inherited from DataGridView.)
Public propertyShowEditingIconGets or sets a value indicating whether or not the editing glyph is visible in the row header of the cell being edited. (Inherited from DataGridView.)
Protected propertyShowFocusCuesGets a value indicating whether the control should display focus rectangles. (Inherited from Control.)
Protected propertyShowKeyboardCuesGets a value indicating whether the user interface is in the appropriate state to show or hide keyboard accelerators. (Inherited from Control.)
Public propertyShowRowErrorsGets or sets a value indicating whether row headers will display error glyphs for each row that contains a data entry error. (Inherited from DataGridView.)
Public propertySiteGets or sets the site of the control. (Inherited from Control.)
Public propertySizeGets or sets the height and width of the control. (Inherited from Control.)
Public propertySortBackcolorSpecifies Background color for the Sort Column. This is ignored when using Windows Forms default coloring.
Public propertySortedColumnGets the column by which the DataGridView contents are currently sorted. (Inherited from DataGridView.)
Public propertySortForecolorSpecifies Foreground color for the Sort Column. This is ignored when using Windows Forms default coloring.
Public propertySortOrderGets a value indicating whether the items in the DataGridView control are sorted in ascending or descending order, or are not sorted. (Inherited from DataGridView.)
Public propertyStandardTabGets or sets a value indicating whether the TAB key moves the focus to the next control in the tab order rather than moving focus to the next cell in the control. (Inherited from DataGridView.)
Public propertyStretchLastColumn
Public propertyTabIndexGets or sets the tab order of the control within its container. (Inherited from Control.)
Public propertyTabStopGets or sets a value indicating whether the user can give the focus to this control using the TAB key. (Inherited from Control.)
Public propertyTagGets or sets the object that contains data about the control. (Inherited from Control.)
Public propertyTextInfrastructure. Gets or sets the text associated with the control. (Inherited from DataGridView.)
Public propertyTopGets or sets the distance, in pixels, between the top edge of the control and the top edge of its container's client area. (Inherited from Control.)
Public propertyTopLeftHeaderCellGets or sets the header cell located in the upper left corner of the DataGridView control. (Inherited from DataGridView.)
Public propertyTopLevelControlGets the parent control that is not parented by another Windows Forms control. Typically, this is the outermost Form that the control is contained in. (Inherited from Control.)
Public propertyUserSetCursorGets the default or user-specified value of the Cursor property. (Inherited from DataGridView.)
Public propertyUseWaitCursorGets or sets a value indicating whether to use the wait cursor for the current control and all child controls. (Inherited from Control.)
Public propertyValueProvider
Protected propertyVerticalScrollBarGets the vertical scroll bar of the control. (Inherited from DataGridView.)
Public propertyVerticalScrollingOffsetGets the number of pixels by which the control is scrolled vertically. (Inherited from DataGridView.)
Public propertyVirtualModeGets or sets a value indicating whether you have provided your own data-management operations for the DataGridView control. (Inherited from DataGridView.)
Public propertyVirtualThumbTracking
Public propertyVisibleGets or sets a value indicating whether the control and all its child controls are displayed. (Inherited from Control.)
Public propertyWidthGets or sets the width of the control. (Inherited from Control.)
Public propertyWindowTargetInfrastructure. This property is not relevant for this class. (Inherited from Control.)
Public propertyWorkItemCollection
Top
  NameDescription
Protected methodAccessibilityNotifyClients(AccessibleEvents, Int32)Notifies the accessibility client applications of the specified AccessibleEvents for the specified child control. (Inherited from Control.)
Protected methodAccessibilityNotifyClients(AccessibleEvents, Int32, Int32)Notifies the accessibility client applications of the specified AccessibleEvents for the specified child control . (Inherited from Control.)
Protected methodAccessibilityNotifyCurrentCellChangedNotifies the accessible client applications when a new cell becomes the current cell. (Inherited from DataGridView.)
Public methodAdjustColumnHeaderBorderStyleAdjusts the DataGridViewAdvancedBorderStyle for a column header cell of a DataGridView that is currently being painted. (Inherited from DataGridView.)
Public methodAreAllCellsSelectedReturns a value indicating whether all the DataGridView cells are currently selected. (Inherited from DataGridView.)
Public methodAutoResizeColumn(Int32)Adjusts the width of the specified column to fit the contents of all its cells, including the header cell. (Inherited from DataGridView.)
Public methodAutoResizeColumn(Int32, DataGridViewAutoSizeColumnMode)Adjusts the width of the specified column using the specified size mode. (Inherited from DataGridView.)
Protected methodAutoResizeColumn(Int32, DataGridViewAutoSizeColumnMode, Boolean)Adjusts the width of the specified column using the specified size mode, optionally calculating the width with the expectation that row heights will subsequently be adjusted. (Inherited from DataGridView.)
Public methodAutoResizeColumnHeadersHeight()Adjusts the height of the column headers to fit the contents of the largest column header. (Inherited from DataGridView.)
Public methodAutoResizeColumnHeadersHeight(Int32)Adjusts the height of the column headers based on changes to the contents of the header in the specified column. (Inherited from DataGridView.)
Protected methodAutoResizeColumnHeadersHeight(Boolean, Boolean)Adjusts the height of the column headers to fit their contents, optionally calculating the height with the expectation that the column and/or row header widths will subsequently be adjusted. (Inherited from DataGridView.)
Protected methodAutoResizeColumnHeadersHeight(Int32, Boolean, Boolean)Adjusts the height of the column headers based on changes to the contents of the header in the specified column, optionally calculating the height with the expectation that the column and/or row header widths will subsequently be adjusted. (Inherited from DataGridView.)
Public methodAutoResizeColumns()Adjusts the width of all columns to fit the contents of all their cells, including the header cells. (Inherited from DataGridView.)
Public methodAutoResizeColumns(DataGridViewAutoSizeColumnsMode)Adjusts the width of all columns using the specified size mode. (Inherited from DataGridView.)
Protected methodAutoResizeColumns(DataGridViewAutoSizeColumnsMode, Boolean)Adjusts the width of all columns using the specified size mode, optionally calculating the widths with the expectation that row heights will subsequently be adjusted. (Inherited from DataGridView.)
Public methodAutoResizeRow(Int32)Adjusts the height of the specified row to fit the contents of all its cells including the header cell. (Inherited from DataGridView.)
Public methodAutoResizeRow(Int32, DataGridViewAutoSizeRowMode)Adjusts the height of the specified row using the specified size mode. (Inherited from DataGridView.)
Protected methodAutoResizeRow(Int32, DataGridViewAutoSizeRowMode, Boolean)Adjusts the height of the specified row using the specified size mode, optionally calculating the height with the expectation that column widths will subsequently be adjusted. (Inherited from DataGridView.)
Public methodAutoResizeRowHeadersWidth(DataGridViewRowHeadersWidthSizeMode)Adjusts the width of the row headers using the specified size mode. (Inherited from DataGridView.)
Public methodAutoResizeRowHeadersWidth(Int32, DataGridViewRowHeadersWidthSizeMode)Adjusts the width of the row headers based on changes to the contents of the header in the specified row and using the specified size mode. (Inherited from DataGridView.)
Protected methodAutoResizeRowHeadersWidth(DataGridViewRowHeadersWidthSizeMode, Boolean, Boolean)Adjusts the width of the row headers using the specified size mode, optionally calculating the width with the expectation that the row and/or column header widths will subsequently be adjusted. (Inherited from DataGridView.)
Protected methodAutoResizeRowHeadersWidth(Int32, DataGridViewRowHeadersWidthSizeMode, Boolean, Boolean)Adjusts the width of the row headers based on changes to the contents of the header in the specified row and using the specified size mode, optionally calculating the width with the expectation that the row and/or column header widths will subsequently be adjusted. (Inherited from DataGridView.)
Public methodAutoResizeRows()Adjusts the heights of all rows to fit the contents of all their cells, including the header cells. (Inherited from DataGridView.)
Public methodAutoResizeRows(DataGridViewAutoSizeRowsMode)Adjusts the heights of the rows using the specified size mode value. (Inherited from DataGridView.)
Protected methodAutoResizeRows(DataGridViewAutoSizeRowsMode, Boolean)Adjusts the heights of all rows using the specified size mode, optionally calculating the heights with the expectation that column widths will subsequently be adjusted. (Inherited from DataGridView.)
Protected methodAutoResizeRows(Int32, Int32, DataGridViewAutoSizeRowMode, Boolean)Adjusts the heights of the specified rows using the specified size mode, optionally calculating the heights with the expectation that column widths will subsequently be adjusted. (Inherited from DataGridView.)
Public methodBeginEditPuts the current cell in edit mode. (Inherited from DataGridView.)
Public methodBeginInvoke(Delegate)Executes the specified delegate asynchronously on the thread that the control's underlying handle was created on. (Inherited from Control.)
Public methodBeginInvoke(Delegate, Object[])Executes the specified delegate asynchronously with the specified arguments, on the thread that the control's underlying handle was created on. (Inherited from Control.)
Public methodBringToFrontBrings the control to the front of the z-order. (Inherited from Control.)
Public methodCancelEditCancels edit mode for the currently selected cell and discards any changes. (Inherited from DataGridView.)
Public methodClearSelection()Clears the current selection by unselecting all selected cells. (Inherited from DataGridView.)
Protected methodClearSelection(Int32, Int32, Boolean)Cancels the selection of all currently selected cells except the one indicated, optionally ensuring that the indicated cell is selected. (Inherited from DataGridView.)
Public methodCommitEditCommits changes in the current cell to the data cache without ending edit mode. (Inherited from DataGridView.)
Public methodContainsRetrieves a value indicating whether the specified control is a child of the control. (Inherited from Control.)
Protected methodCreateAccessibilityInstanceCreates a new accessible object for the DataGridView. (Inherited from DataGridView.)
Protected methodCreateColumnsInstanceCreates and returns a new DataGridViewColumnCollection. (Inherited from DataGridView.)
Public methodCreateControlForces the creation of the visible control, including the creation of the handle and any visible child controls. (Inherited from Control.)
Protected methodCreateControlsInstanceCreates and returns a new Control.ControlCollection that can be cast to type DataGridView.DataGridViewControlCollection. (Inherited from DataGridView.)
Public methodCreateGraphicsCreates the Graphics for the control. (Inherited from Control.)
Protected methodCreateHandleCreates a handle for the control. (Inherited from Control.)
Public methodCreateObjRefSecurity Critical. Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Protected methodCreateRowsInstanceCreates and returns a new DataGridViewRowCollection. (Inherited from DataGridView.)
Protected methodDefWndProcSends the specified message to the default window procedure. (Inherited from Control.)
Protected methodDestroyHandleDestroys the handle associated with the control. (Inherited from Control.)
Public methodDisplayedColumnCountReturns the number of columns displayed to the user. (Inherited from DataGridView.)
Public methodDisplayedRowCountReturns the number of rows displayed to the user. (Inherited from DataGridView.)
Public methodDispose()Releases all resources used by the Component. (Inherited from Component.)
Protected methodDispose(Boolean) (Overrides DataGridView.Dispose(Boolean).)
Public methodDoDragDropBegins a drag-and-drop operation. (Inherited from Control.)
Public methodDrawToBitmapSupports rendering to the specified bitmap. (Inherited from Control.)
Public methodEndEdit()Commits and ends the edit operation on the current cell using the default error context. (Inherited from DataGridView.)
Public methodEndEdit(DataGridViewDataErrorContexts)Commits and ends the edit operation on the current cell using the specified error context. (Inherited from DataGridView.)
Public methodEndInvokeRetrieves the return value of the asynchronous operation represented by the IAsyncResult passed. (Inherited from Control.)
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeReleases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.)
Public methodFindFormRetrieves the form that the control is on. (Inherited from Control.)
Public methodFocusSets input focus to the control. (Inherited from Control.)
Protected methodGetAccessibilityObjectByIdRetrieves the specified AccessibleObject. (Inherited from DataGridView.)
Protected methodGetAutoSizeModeRetrieves a value indicating how a control will behave when its AutoSize property is enabled. (Inherited from Control.)
Public methodGetCellCountGets the number of cells that satisfy the provided filter. (Inherited from DataGridView.)
Public methodGetCellDisplayRectangleReturns the rectangle that represents the display area for a cell. (Inherited from DataGridView.)
Public methodGetChildAtPoint(Point)Retrieves the child control that is located at the specified coordinates. (Inherited from Control.)
Public methodGetChildAtPoint(Point, GetChildAtPointSkip)Retrieves the child control that is located at the specified coordinates, specifying whether to ignore child controls of a certain type. (Inherited from Control.)
Public methodGetClipboardContentRetrieves the formatted values that represent the contents of the selected cells for copying to the Clipboard. (Inherited from DataGridView.)
Public methodGetColumnDisplayRectangleReturns the rectangle that represents the display area for a column, as determined by the column index. (Inherited from DataGridView.)
Public methodGetContainerControlReturns the next ContainerControl up the control's chain of parent controls. (Inherited from Control.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Protected methodGetItemIndexReturns the item index with this ID.
Public methodGetLifetimeServiceSecurity Critical. Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public methodGetNextControlRetrieves the next control forward or back in the tab order of child controls. (Inherited from Control.)
Public methodGetPreferredSizeRetrieves the size of a rectangular area into which a control can be fitted. (Inherited from Control.)
Public methodGetRowDisplayRectangleReturns the rectangle that represents the display area for a row, as determined by the row index. (Inherited from DataGridView.)
Protected methodGetScaledBoundsRetrieves the bounds within which the control is scaled. (Inherited from Control.)
Public methodGetSelectedIds
Public methodGetSelectedRows
Protected methodGetServiceReturns an object that represents a service provided by the Component or by its Container. (Inherited from Component.)
Protected methodGetStyleRetrieves the value of the specified control style bit for the control. (Inherited from Control.)
Protected methodGetTopLevelDetermines if the control is a top-level control. (Inherited from Control.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodHideConceals the control from the user. (Inherited from Control.)
Public methodHitTestReturns location information, such as row and column indices, given x- and y-coordinates. (Inherited from DataGridView.)
Public methodInitializeLifetimeServiceSecurity Critical. Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected methodInitLayoutCalled after the control has been added to another container. (Inherited from Control.)
Public methodInvalidate()Invalidates the entire surface of the control and causes the control to be redrawn. (Inherited from Control.)
Public methodInvalidate(Region)Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control. (Inherited from Control.)
Public methodInvalidate(Boolean)Invalidates a specific region of the control and causes a paint message to be sent to the control. Optionally, invalidates the child controls assigned to the control. (Inherited from Control.)
Public methodInvalidate(Rectangle)Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control. (Inherited from Control.)
Public methodInvalidate(Region, Boolean)Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control. Optionally, invalidates the child controls assigned to the control. (Inherited from Control.)
Public methodInvalidate(Rectangle, Boolean)Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control. Optionally, invalidates the child controls assigned to the control. (Inherited from Control.)
Public methodInvalidateCell(DataGridViewCell)Invalidates the specified cell of the DataGridView, forcing it to be repainted. (Inherited from DataGridView.)
Public methodInvalidateCell(Int32, Int32)Invalidates the cell with the specified row and column indexes, forcing it to be repainted. (Inherited from DataGridView.)
Public methodInvalidateColumnInvalidates the specified column of the DataGridView, forcing it to be repainted. (Inherited from DataGridView.)
Public methodInvalidateRowInvalidates the specified row of the DataGridView, forcing it to be repainted. (Inherited from DataGridView.)
Public methodInvoke(Delegate)Executes the specified delegate on the thread that owns the control's underlying window handle. (Inherited from Control.)
Public methodInvoke(Delegate, Object[])Executes the specified delegate, on the thread that owns the control's underlying window handle, with the specified list of arguments. (Inherited from Control.)
Protected methodInvokeGotFocusRaises the GotFocus event for the specified control. (Inherited from Control.)
Protected methodInvokeLostFocusRaises the LostFocus event for the specified control. (Inherited from Control.)
Protected methodInvokeOnClickRaises the Click event for the specified control. (Inherited from Control.)
Protected methodInvokePaintRaises the Paint event for the specified control. (Inherited from Control.)
Protected methodInvokePaintBackgroundRaises the PaintBackground event for the specified control. (Inherited from Control.)
Protected methodIsInputCharDetermines whether a character is an input character that the DataGridView recognizes. (Inherited from DataGridView.)
Protected methodIsInputKeyDetermines whether the specified key is a regular input key or a special key that requires preprocessing. (Inherited from DataGridView.)
Protected methodIsPointOnExpandCollapseImage
Public methodLoadFromQuery
Public methodLoadFromWiql
Protected methodMemberwiseClone()Creates a shallow copy of the current Object. (Inherited from Object.)
Protected methodMemberwiseClone(Boolean)Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.)
Public methodNotifyCurrentCellDirtyNotifies the DataGridView that the current cell has uncommitted changes. (Inherited from DataGridView.)
Protected methodNotifyInvalidateInfrastructure. Raises the Invalidated event with a specified region of the control to invalidate. (Inherited from Control.)
Protected methodOnAllowUserToAddRowsChangedRaises the AllowUserToAddRowsChanged event. (Inherited from DataGridView.)
Protected methodOnAllowUserToDeleteRowsChangedRaises the AllowUserToDeleteRowsChanged event. (Inherited from DataGridView.)
Protected methodOnAllowUserToOrderColumnsChangedRaises the AllowUserToOrderColumnsChanged event. (Inherited from DataGridView.)
Protected methodOnAllowUserToResizeColumnsChangedRaises the AllowUserToResizeColumnsChanged event. (Inherited from DataGridView.)
Protected methodOnAllowUserToResizeRowsChangedRaises the AllowUserToResizeRowsChanged event. (Inherited from DataGridView.)
Protected methodOnAlternatingRowsDefaultCellStyleChangedRaises the AlternatingRowsDefaultCellStyleChanged event. (Inherited from DataGridView.)
Protected methodOnAutoGenerateColumnsChangedRaises the AutoGenerateColumnsChanged event. (Inherited from DataGridView.)
Protected methodOnAutoSizeChangedRaises the AutoSizeChanged event. (Inherited from Control.)
Protected methodOnAutoSizeColumnModeChangedRaises the AutoSizeColumnModeChanged event. (Inherited from DataGridView.)
Protected methodOnAutoSizeColumnsModeChangedRaises the AutoSizeColumnsModeChanged event. (Inherited from DataGridView.)
Protected methodOnAutoSizeRowsModeChangedRaises the AutoSizeRowsModeChanged event. (Inherited from DataGridView.)
Protected methodOnBackColorChangedRaises the BackColorChanged event. (Inherited from Control.)
Protected methodOnBackgroundColorChangedRaises the BackgroundColorChanged event. (Inherited from DataGridView.)
Protected methodOnBackgroundImageChangedRaises the BackgroundImageChanged event. (Inherited from Control.)
Protected methodOnBackgroundImageLayoutChangedRaises the BackgroundImageLayoutChanged event. (Inherited from Control.)
Protected methodOnBindingContextChangedRaises the BindingContextChanged event. (Inherited from DataGridView.)
Protected methodOnBorderStyleChangedRaises the BorderStyleChanged event. (Inherited from DataGridView.)
Protected methodOnCancelRowEditRaises the CancelRowEdit event. (Inherited from DataGridView.)
Protected methodOnCausesValidationChangedRaises the CausesValidationChanged event. (Inherited from Control.)
Protected methodOnCellBeginEdit (Overrides DataGridView.OnCellBeginEdit(DataGridViewCellCancelEventArgs).)
Protected methodOnCellBorderStyleChangedRaises the CellBorderStyleChanged event. (Inherited from DataGridView.)
Protected methodOnCellClickRaises the CellClick event. (Inherited from DataGridView.)
Protected methodOnCellContentClickRaises the CellContentClick event. (Inherited from DataGridView.)
Protected methodOnCellContentDoubleClickRaises the CellContentDoubleClick event. (Inherited from DataGridView.)
Protected methodOnCellContextMenuStripChangedRaises the CellContextMenuStripChanged event. (Inherited from DataGridView.)
Protected methodOnCellContextMenuStripNeededRaises the CellContextMenuStripNeeded event. (Inherited from DataGridView.)
Protected methodOnCellDoubleClickRaises the CellDoubleClick event. (Inherited from DataGridView.)
Protected methodOnCellEndEditRaises the CellEndEdit event. (Inherited from DataGridView.)
Protected methodOnCellEnterRaises the CellEnter event. (Inherited from DataGridView.)
Protected methodOnCellErrorTextChangedRaises the CellErrorTextChanged event. (Inherited from DataGridView.)
Protected methodOnCellErrorTextNeeded (Overrides DataGridView.OnCellErrorTextNeeded(DataGridViewCellErrorTextNeededEventArgs).)
Protected methodOnCellFormatting (Overrides DataGridView.OnCellFormatting(DataGridViewCellFormattingEventArgs).)
Protected methodOnCellLeaveRaises the CellLeave event. (Inherited from DataGridView.)
Protected methodOnCellMouseClickRaises the CellMouseClick event. (Inherited from DataGridView.)
Protected methodOnCellMouseDoubleClickRaises the CellMouseDoubleClick event. (Inherited from DataGridView.)
Protected methodOnCellMouseDown (Overrides DataGridView.OnCellMouseDown(DataGridViewCellMouseEventArgs).)
Protected methodOnCellMouseEnterRaises the CellMouseEnter event. (Inherited from DataGridView.)
Protected methodOnCellMouseLeaveRaises the CellMouseLeave event. (Inherited from DataGridView.)
Protected methodOnCellMouseMoveRaises the CellMouseMove event. (Inherited from DataGridView.)
Protected methodOnCellMouseUpRaises the CellMouseUp event. (Inherited from DataGridView.)
Protected methodOnCellPainting (Overrides DataGridView.OnCellPainting(DataGridViewCellPaintingEventArgs).)
Protected methodOnCellParsingRaises the CellParsing event. (Inherited from DataGridView.)
Protected methodOnCellStateChangedRaises the CellStateChanged event. (Inherited from DataGridView.)
Protected methodOnCellStyleChangedRaises the CellStyleChanged event. (Inherited from DataGridView.)
Protected methodOnCellStyleContentChangedRaises the CellStyleContentChanged event. (Inherited from DataGridView.)
Protected methodOnCellToolTipTextChangedRaises the CellToolTipTextChanged event. (Inherited from DataGridView.)
Protected methodOnCellToolTipTextNeeded (Overrides DataGridView.OnCellToolTipTextNeeded(DataGridViewCellToolTipTextNeededEventArgs).)
Protected methodOnCellValidatedRaises the CellValidated event. (Inherited from DataGridView.)
Protected methodOnCellValidatingRaises the CellValidating event. (Inherited from DataGridView.)
Protected methodOnCellValueChangedRaises the CellValueChanged event. (Inherited from DataGridView.)
Protected methodOnCellValueNeeded (Overrides DataGridView.OnCellValueNeeded(DataGridViewCellValueEventArgs).)
Protected methodOnCellValuePushedRaises the CellValuePushed event. (Inherited from DataGridView.)
Protected methodOnChangeUICuesRaises the ChangeUICues event. (Inherited from Control.)
Protected methodOnClickRaises the Click event. (Inherited from Control.)
Protected methodOnClientSizeChangedRaises the ClientSizeChanged event. (Inherited from Control.)
Protected methodOnCollectionChanging
Protected methodOnColumnAddedRaises the ColumnAdded event. (Inherited from DataGridView.)
Protected methodOnColumnContextMenuStripChangedRaises the ColumnContextMenuStripChanged event. (Inherited from DataGridView.)
Protected methodOnColumnDataPropertyNameChangedRaises the ColumnDataPropertyNameChanged event. (Inherited from DataGridView.)
Protected methodOnColumnDefaultCellStyleChangedRaises the ColumnDefaultCellStyleChanged event. (Inherited from DataGridView.)
Protected methodOnColumnDisplayIndexChanged (Overrides DataGridView.OnColumnDisplayIndexChanged(DataGridViewColumnEventArgs).)
Protected methodOnColumnDividerDoubleClick (Overrides DataGridView.OnColumnDividerDoubleClick(DataGridViewColumnDividerDoubleClickEventArgs).)
Protected methodOnColumnDividerWidthChangedRaises the ColumnDividerWidthChanged event. (Inherited from DataGridView.)
Protected methodOnColumnHeaderCellChangedRaises the ColumnHeaderCellChanged event. (Inherited from DataGridView.)
Protected methodOnColumnHeaderMouseClickRaises the ColumnHeaderMouseClick event. (Inherited from DataGridView.)
Protected methodOnColumnHeaderMouseDoubleClickRaises the ColumnHeaderMouseDoubleClick event. (Inherited from DataGridView.)
Protected methodOnColumnHeadersBorderStyleChangedRaises the ColumnHeadersBorderStyleChanged event. (Inherited from DataGridView.)
Protected methodOnColumnHeadersDefaultCellStyleChangedRaises the ColumnHeadersDefaultCellStyleChanged event. (Inherited from DataGridView.)
Protected methodOnColumnHeadersHeightChangedRaises the ColumnHeadersHeightChanged event. (Inherited from DataGridView.)
Protected methodOnColumnHeadersHeightSizeModeChangedRaises the ColumnHeadersHeightSizeModeChanged event. (Inherited from DataGridView.)
Protected methodOnColumnMinimumWidthChangedRaises the ColumnMinimumWidthChanged event. (Inherited from DataGridView.)
Protected methodOnColumnNameChangedRaises the ColumnNameChanged event. (Inherited from DataGridView.)
Protected methodOnColumnRemovedRaises the ColumnRemoved event. (Inherited from DataGridView.)
Protected methodOnColumnSortModeChangedRaises the ColumnSortModeChanged event. (Inherited from DataGridView.)
Protected methodOnColumnStateChangedRaises the ColumnStateChanged event. (Inherited from DataGridView.)
Protected methodOnColumnToolTipTextChangedRaises the ColumnToolTipTextChanged event. (Inherited from DataGridView.)
Protected methodOnColumnWidthChanged (Overrides DataGridView.OnColumnWidthChanged(DataGridViewColumnEventArgs).)
Protected methodOnContextMenuChangedRaises the ContextMenuChanged event. (Inherited from Control.)
Protected methodOnContextMenuPopup
Protected methodOnContextMenuStripChangedRaises the ContextMenuStripChanged event. (Inherited from Control.)
Protected methodOnControlAddedRaises the ControlAdded event. (Inherited from Control.)
Protected methodOnControlRemovedRaises the ControlRemoved event. (Inherited from Control.)
Protected methodOnCreateControlRaises the CreateControl method. (Inherited from Control.)
Protected methodOnCurrentCellChanged (Overrides DataGridView.OnCurrentCellChanged(EventArgs).)
Protected methodOnCurrentCellDirtyStateChangedRaises the CurrentCellDirtyStateChanged event. (Inherited from DataGridView.)
Protected methodOnCursorChangedRaises the CursorChanged event and updates the UserSetCursor property if the cursor was changed in user code. (Inherited from DataGridView.)
Protected methodOnDataBindingCompleteRaises the DataBindingComplete event. (Inherited from DataGridView.)
Protected methodOnDataErrorRaises the DataError event. (Inherited from DataGridView.)
Protected methodOnDataMemberChangedRaises the DataMemberChanged event. (Inherited from DataGridView.)
Protected methodOnDataSourceChangedRaises the DataSourceChanged event. (Inherited from DataGridView.)
Protected methodOnDefaultCellStyleChangedRaises the DefaultCellStyleChanged event. (Inherited from DataGridView.)
Protected methodOnDefaultValuesNeededRaises the DefaultValuesNeeded event. (Inherited from DataGridView.)
Protected methodOnDockChangedRaises the DockChanged event. (Inherited from Control.)
Protected methodOnDoubleClickRaises the DoubleClick event. (Inherited from DataGridView.)
Protected methodOnDragDrop (Overrides Control.OnDragDrop(DragEventArgs).)
Protected methodOnDragEnterRaises the DragEnter event. (Inherited from Control.)
Protected methodOnDragLeave (Overrides Control.OnDragLeave(EventArgs).)
Protected methodOnDragOver (Overrides Control.OnDragOver(DragEventArgs).)
Protected methodOnEditingControlShowingRaises the EditingControlShowing event. (Inherited from DataGridView.)
Protected methodOnEditModeChangedRaises the EditModeChanged event. (Inherited from DataGridView.)
Protected methodOnEnabledChangedRaises the EnabledChanged event. (Inherited from DataGridView.)
Protected methodOnEnterRaises the Enter event. (Inherited from DataGridView.)
Protected methodOnFontChangedRaises the FontChanged event. (Inherited from DataGridView.)
Protected methodOnForeColorChangedRaises the ForeColorChanged event. (Inherited from DataGridView.)
Protected methodOnGiveFeedbackRaises the GiveFeedback event. (Inherited from Control.)
Protected methodOnGotFocus (Overrides DataGridView.OnGotFocus(EventArgs).)
Protected methodOnGridColorChangedRaises the GridColorChanged event. (Inherited from DataGridView.)
Protected methodOnHandleCreatedRaises the HandleCreated event. (Inherited from DataGridView.)
Protected methodOnHandleDestroyedRaises the HandleDestroyed event. (Inherited from DataGridView.)
Protected methodOnHelpRequestedRaises the HelpRequested event. (Inherited from Control.)
Protected methodOnImeModeChangedRaises the ImeModeChanged event. (Inherited from Control.)
Protected methodOnInvalidatedRaises the Invalidated event. (Inherited from Control.)
Protected methodOnKeyDownRaises the KeyDown event. (Inherited from DataGridView.)
Protected methodOnKeyPressRaises the KeyPress event. (Inherited from DataGridView.)
Protected methodOnKeyUpRaises the KeyUp event. (Inherited from DataGridView.)
Protected methodOnLayoutRaises the Layout event. (Inherited from DataGridView.)
Protected methodOnLeaveRaises the Leave event. (Inherited from DataGridView.)
Protected methodOnLocationChangedRaises the LocationChanged event. (Inherited from Control.)
Protected methodOnLostFocus (Overrides DataGridView.OnLostFocus(EventArgs).)
Protected methodOnMarginChangedRaises the MarginChanged event. (Inherited from Control.)
Protected methodOnMouseCaptureChangedRaises the MouseCaptureChanged event. (Inherited from Control.)
Protected methodOnMouseClick (Overrides DataGridView.OnMouseClick(MouseEventArgs).)
Protected methodOnMouseDoubleClickRaises the MouseDoubleClick event. (Inherited from DataGridView.)
Protected methodOnMouseDown (Overrides DataGridView.OnMouseDown(MouseEventArgs).)
Protected methodOnMouseEnterRaises the MouseEnter event. (Inherited from DataGridView.)
Protected methodOnMouseHoverRaises the MouseHover event. (Inherited from Control.)
Protected methodOnMouseLeaveRaises the MouseLeave event. (Inherited from DataGridView.)
Protected methodOnMouseMove (Overrides DataGridView.OnMouseMove(MouseEventArgs).)
Protected methodOnMouseUp (Overrides DataGridView.OnMouseUp(MouseEventArgs).)
Protected methodOnMouseWheelRaises the MouseWheel event. (Inherited from DataGridView.)
Protected methodOnMoveRaises the Move event. (Inherited from Control.)
Protected methodOnMultiSelectChangedRaises the MultiSelectChanged event. (Inherited from DataGridView.)
Protected methodOnNewRowNeededRaises the NewRowNeeded event. (Inherited from DataGridView.)
Protected methodOnNotifyMessageNotifies the control of Windows messages. (Inherited from Control.)
Protected methodOnPaddingChangedRaises the PaddingChanged event. (Inherited from Control.)
Protected methodOnPaint (Overrides DataGridView.OnPaint(PaintEventArgs).)
Protected methodOnPaintBackgroundPaints the background of the control. (Inherited from Control.)
Protected methodOnParentBackColorChangedRaises the BackColorChanged event when the BackColor property value of the control's container changes. (Inherited from Control.)
Protected methodOnParentBackgroundImageChangedRaises the BackgroundImageChanged event when the BackgroundImage property value of the control's container changes. (Inherited from Control.)
Protected methodOnParentBindingContextChangedRaises the BindingContextChanged event when the BindingContext property value of the control's container changes. (Inherited from Control.)
Protected methodOnParentChangedRaises the ParentChanged event. (Inherited from Control.)
Protected methodOnParentCursorChangedRaises the CursorChanged event. (Inherited from Control.)
Protected methodOnParentEnabledChangedRaises the EnabledChanged event when the Enabled property value of the control's container changes. (Inherited from Control.)
Protected methodOnParentFontChangedRaises the FontChanged event when the Font property value of the control's container changes. (Inherited from Control.)
Protected methodOnParentForeColorChangedRaises the ForeColorChanged event when the ForeColor property value of the control's container changes. (Inherited from Control.)
Protected methodOnParentRightToLeftChangedRaises the RightToLeftChanged event when the RightToLeft property value of the control's container changes. (Inherited from Control.)
Protected methodOnParentVisibleChangedRaises the VisibleChanged event when the Visible property value of the control's container changes. (Inherited from Control.)
Protected methodOnPreviewKeyDownRaises the PreviewKeyDown event. (Inherited from Control.)
Protected methodOnPrintRaises the Paint event. (Inherited from Control.)
Protected methodOnQueryContinueDragRaises the QueryContinueDrag event. (Inherited from Control.)
Protected methodOnReadOnlyChangedRaises the ReadOnlyChanged event. (Inherited from DataGridView.)
Protected methodOnRegionChangedRaises the RegionChanged event. (Inherited from Control.)
Protected methodOnResize (Overrides DataGridView.OnResize(EventArgs).)
Protected methodOnRightToLeftChangedRaises the RightToLeftChanged event. (Inherited from DataGridView.)
Protected methodOnRowContextMenuStripChangedRaises the RowContextMenuStripChanged event. (Inherited from DataGridView.)
Protected methodOnRowContextMenuStripNeededRaises the RowContextMenuStripNeeded event. (Inherited from DataGridView.)
Protected methodOnRowDefaultCellStyleChangedRaises the RowDefaultCellStyleChanged event. (Inherited from DataGridView.)
Protected methodOnRowDirtyStateNeededRaises the RowDirtyStateNeeded event. (Inherited from DataGridView.)
Protected methodOnRowDividerDoubleClickRaises the RowDividerDoubleClick event. (Inherited from DataGridView.)
Protected methodOnRowDividerHeightChangedRaises the RowDividerHeightChanged event. (Inherited from DataGridView.)
Protected methodOnRowEnterRaises the RowEnter event. (Inherited from DataGridView.)
Protected methodOnRowErrorTextChangedRaises the RowErrorTextChanged event. (Inherited from DataGridView.)
Protected methodOnRowErrorTextNeededRaises the RowErrorTextNeeded event. (Inherited from DataGridView.)
Protected methodOnRowHeaderCellChangedRaises the RowHeaderCellChanged event. (Inherited from DataGridView.)
Protected methodOnRowHeaderMouseClickRaises the RowHeaderMouseClick event. (Inherited from DataGridView.)
Protected methodOnRowHeaderMouseDoubleClickRaises the RowHeaderMouseDoubleClick event. (Inherited from DataGridView.)
Protected methodOnRowHeadersBorderStyleChangedRaises the RowHeadersBorderStyleChanged event. (Inherited from DataGridView.)
Protected methodOnRowHeadersDefaultCellStyleChangedRaises the RowHeadersDefaultCellStyleChanged event. (Inherited from DataGridView.)
Protected methodOnRowHeadersWidthChangedRaises the RowHeadersWidthChanged event. (Inherited from DataGridView.)
Protected methodOnRowHeadersWidthSizeModeChangedRaises the RowHeadersWidthSizeModeChanged event. (Inherited from DataGridView.)
Protected methodOnRowHeightChangedRaises the RowHeightChanged event. (Inherited from DataGridView.)
Protected methodOnRowHeightInfoNeededRaises the RowHeightInfoNeeded event. (Inherited from DataGridView.)
Protected methodOnRowHeightInfoPushedRaises the RowHeightInfoPushed event. (Inherited from DataGridView.)
Protected methodOnRowLeaveRaises the RowLeave event. (Inherited from DataGridView.)
Protected methodOnRowMinimumHeightChangedRaises the RowMinimumHeightChanged event. (Inherited from DataGridView.)
Protected methodOnRowPostPaintRaises the RowPostPaint event. (Inherited from DataGridView.)
Protected methodOnRowPrePaint (Overrides DataGridView.OnRowPrePaint(DataGridViewRowPrePaintEventArgs).)
Protected methodOnRowsAddedRaises the RowsAdded event. (Inherited from DataGridView.)
Protected methodOnRowsDefaultCellStyleChangedRaises the RowsDefaultCellStyleChanged event. (Inherited from DataGridView.)
Protected methodOnRowsRemovedRaises the RowsRemoved event. (Inherited from DataGridView.)
Protected methodOnRowStateChangedRaises the RowStateChanged event. (Inherited from DataGridView.)
Protected methodOnRowUnsharedRaises the RowUnshared event. (Inherited from DataGridView.)
Protected methodOnRowValidatedRaises the RowValidated event. (Inherited from DataGridView.)
Protected methodOnRowValidatingRaises the RowValidating event. (Inherited from DataGridView.)
Protected methodOnScroll (Overrides DataGridView.OnScroll(ScrollEventArgs).)
Protected methodOnSelectionChanged (Overrides DataGridView.OnSelectionChanged(EventArgs).)
Protected methodOnSizeChangedRaises the SizeChanged event. (Inherited from Control.)
Protected methodOnSortCompareRaises the SortCompare event. (Inherited from DataGridView.)
Protected methodOnSortedRaises the Sorted event. (Inherited from DataGridView.)
Protected methodOnStyleChangedRaises the StyleChanged event. (Inherited from Control.)
Protected methodOnSystemColorsChangedRaises the SystemColorsChanged event. (Inherited from Control.)
Protected methodOnTabIndexChangedRaises the TabIndexChanged event. (Inherited from Control.)
Protected methodOnTabStopChangedRaises the TabStopChanged event. (Inherited from Control.)
Protected methodOnTextChangedRaises the TextChanged event. (Inherited from Control.)
Protected methodOnUserAddedRowRaises the UserAddedRow event. (Inherited from DataGridView.)
Protected methodOnUserDeletedRowRaises the UserDeletedRow event. (Inherited from DataGridView.)
Protected methodOnUserDeletingRowRaises the UserDeletingRow event. (Inherited from DataGridView.)
Protected methodOnValidatedRaises the Validated event. (Inherited from Control.)
Protected methodOnValidatingRaises the Validating event. (Inherited from DataGridView.)
Protected methodOnValueProviderItemChanged
Protected methodOnVisibleChangedRaises the VisibleChanged event. (Inherited from DataGridView.)
Protected methodPaintBackgroundPaints the background of the DataGridView. (Inherited from DataGridView.)
Public methodPerformLayout()Forces the control to apply layout logic to all its child controls. (Inherited from Control.)
Public methodPerformLayout(Control, String)Forces the control to apply layout logic to all its child controls. (Inherited from Control.)
Public methodPointToClientComputes the location of the specified screen point into client coordinates. (Inherited from Control.)
Public methodPointToScreenComputes the location of the specified client point into screen coordinates. (Inherited from Control.)
Public methodPreProcessControlMessagePreprocesses keyboard or input messages within the message loop before they are dispatched. (Inherited from Control.)
Public methodPreProcessMessagePreprocesses keyboard or input messages within the message loop before they are dispatched. (Inherited from Control.)
Protected methodProcessAKeyProcesses the A key. (Inherited from DataGridView.)
Protected methodProcessCmdKey (Overrides Control.ProcessCmdKey(Message, Keys).)
Protected methodProcessDataGridViewKeyProcesses keys used for navigating in the DataGridView. (Inherited from DataGridView.)
Protected methodProcessDeleteKeyProcesses the DELETE key. (Inherited from DataGridView.)
Protected methodProcessDialogCharProcesses a dialog character. (Inherited from Control.)
Protected methodProcessDialogKeyProcesses keys, such as the TAB, ESCAPE, ENTER, and ARROW keys, used to control dialog boxes. (Inherited from DataGridView.)
Protected methodProcessDownKeyProcesses the DOWN ARROW key. (Inherited from DataGridView.)
Protected methodProcessEndKeyProcesses the END key. (Inherited from DataGridView.)
Protected methodProcessEnterKeyProcesses the ENTER key. (Inherited from DataGridView.)
Protected methodProcessEscapeKeyProcesses the ESC key. (Inherited from DataGridView.)
Protected methodProcessF2KeyProcesses the F2 key. (Inherited from DataGridView.)
Protected methodProcessHomeKeyProcesses the HOME key. (Inherited from DataGridView.)
Protected methodProcessInsertKeyProcesses the INSERT key. (Inherited from DataGridView.)
Protected methodProcessKeyEventArgsProcesses a key message and generates the appropriate control events. (Inherited from DataGridView.)
Protected methodProcessKeyMessageProcesses a keyboard message. (Inherited from Control.)
Protected methodProcessKeyPreviewPreviews a keyboard message. (Inherited from DataGridView.)
Protected methodProcessLeftKeyProcesses the LEFT ARROW key. (Inherited from DataGridView.)
Protected methodProcessMnemonicProcesses a mnemonic character. (Inherited from Control.)
Protected methodProcessNextKeyProcesses the PAGE DOWN key. (Inherited from DataGridView.)
Protected methodProcessPriorKeyProcesses the PAGE UP key. (Inherited from DataGridView.)
Protected methodProcessRightKeyProcesses the RIGHT ARROW key. (Inherited from DataGridView.)
Protected methodProcessSpaceKeyProcesses the SPACEBAR. (Inherited from DataGridView.)
Protected methodProcessTabKeyProcesses the TAB key. (Inherited from DataGridView.)
Protected methodProcessUpKeyProcesses the UP ARROW key. (Inherited from DataGridView.)
Protected methodProcessZeroKeyProcesses the 0 key. (Inherited from DataGridView.)
Protected methodRaiseDragEventInfrastructure. Raises the appropriate drag event. (Inherited from Control.)
Protected methodRaiseKeyEventInfrastructure. Raises the appropriate key event. (Inherited from Control.)
Protected methodRaiseMouseEventInfrastructure. Raises the appropriate mouse event. (Inherited from Control.)
Protected methodRaisePaintEventInfrastructure. Raises the appropriate paint event. (Inherited from Control.)
Protected methodRecreateHandleForces the re-creation of the handle for the control. (Inherited from Control.)
Public methodRectangleToClientComputes the size and location of the specified screen rectangle in client coordinates. (Inherited from Control.)
Public methodRectangleToScreenComputes the size and location of the specified client rectangle in screen coordinates. (Inherited from Control.)
Public methodRefreshForces the control to invalidate its client area and immediately redraw itself and any child controls. (Inherited from Control.)
Public methodRefreshEditRefreshes the value of the current cell with the underlying cell value when the cell is in edit mode, discarding any previous value. (Inherited from DataGridView.)
Public methodRefreshGrid
Public methodResetBackColorResets the BackColor property to its default value. (Inherited from Control.)
Public methodResetBindingsCauses a control bound to the BindingSource to reread all the items in the list and refresh their displayed values. (Inherited from Control.)
Public methodResetCursorResets the Cursor property to its default value. (Inherited from Control.)
Public methodResetFontResets the Font property to its default value. (Inherited from Control.)
Public methodResetForeColorResets the ForeColor property to its default value. (Inherited from Control.)
Public methodResetImeModeResets the ImeMode property to its default value. (Inherited from Control.)
Protected methodResetMouseEventArgsInfrastructure. Resets the control to handle the MouseLeave event. (Inherited from Control.)
Public methodResetRightToLeftResets the RightToLeft property to its default value. (Inherited from Control.)
Public methodResetTextInfrastructure. Resets the Text property to its default value. (Inherited from DataGridView.)
Public methodResumeLayout()
Public methodResumeLayout(Boolean)Resumes usual layout logic, optionally forcing an immediate layout of pending layout requests. (Inherited from Control.)
Protected methodRtlTranslateAlignment(HorizontalAlignment)Converts the specified HorizontalAlignment to the appropriate HorizontalAlignment to support right-to-left text. (Inherited from Control.)
Protected methodRtlTranslateAlignment(LeftRightAlignment)Converts the specified LeftRightAlignment to the appropriate LeftRightAlignment to support right-to-left text. (Inherited from Control.)
Protected methodRtlTranslateAlignment(ContentAlignment)Converts the specified ContentAlignment to the appropriate ContentAlignment to support right-to-left text. (Inherited from Control.)
Protected methodRtlTranslateContentConverts the specified ContentAlignment to the appropriate ContentAlignment to support right-to-left text. (Inherited from Control.)
Protected methodRtlTranslateHorizontalConverts the specified HorizontalAlignment to the appropriate HorizontalAlignment to support right-to-left text. (Inherited from Control.)
Protected methodRtlTranslateLeftRightConverts the specified LeftRightAlignment to the appropriate LeftRightAlignment to support right-to-left text. (Inherited from Control.)
Public methodScale(Single) Obsolete. Scales the control and any child controls. (Inherited from Control.)
Public methodScale(SizeF)Scales the control and all child controls by the specified scaling factor. (Inherited from Control.)
Public methodScale(Single, Single) Obsolete. Scales the entire control and any child controls. (Inherited from Control.)
Protected methodScaleControlScales a control's location, size, padding and margin. (Inherited from Control.)
Protected methodScaleCoreInfrastructure. This method is not relevant for this class. (Inherited from Control.)
Public methodSelect()Activates the control. (Inherited from Control.)
Protected methodSelect(Boolean, Boolean)Activates a child control. Optionally specifies the direction in the tab order to select the control from. (Inherited from Control.)
Public methodSelectAllSelects all the cells in the DataGridView. (Inherited from DataGridView.)
Public methodSelectNextControlActivates the next control. (Inherited from Control.)
Public methodSendToBackSends the control to the back of the z-order. (Inherited from Control.)
Protected methodSetAccessibilityObjectName
Public methodSetAllExpansion
Protected methodSetAutoSizeModeSets a value indicating how a control will behave when its AutoSize property is enabled. (Inherited from Control.)
Public methodSetBounds(Int32, Int32, Int32, Int32)Sets the bounds of the control to the specified location and size. (Inherited from Control.)
Public methodSetBounds(Int32, Int32, Int32, Int32, BoundsSpecified)Sets the specified bounds of the control to the specified location and size. (Inherited from Control.)
Protected methodSetBoundsCoreThis member overrides Control.SetBoundsCore. (Inherited from DataGridView.)
Protected methodSetClientSizeCoreSets the size of the client area of the control. (Inherited from Control.)
Protected methodSetCurrentCellAddressCoreSets the currently active cell. (Inherited from DataGridView.)
Public methodSetExpansionStateForCurrentSelection
Protected methodSetSelectedCellCoreChanges the selection state of the cell with the specified row and column indexes. (Inherited from DataGridView.)
Protected methodSetSelectedColumnCoreChanges the selection state of the column with the specified index. (Inherited from DataGridView.)
Protected methodSetSelectedRowCoreChanges the selection state of the row with the specified index. (Inherited from DataGridView.)
Protected methodSetStyleSets a specified ControlStyles flag to either true or false. (Inherited from Control.)
Protected methodSetTopLevelSets the control as the top-level control. (Inherited from Control.)
Protected methodSetVisibleCoreSets the control to the specified visible state. (Inherited from Control.)
Public methodShowDisplays the control to the user. (Inherited from Control.)
Protected methodSizeFromClientSizeDetermines the size of the entire control from the height and width of its client area. (Inherited from Control.)
Public methodSort(IComparer)Sorts the contents of the DataGridView control using an implementation of the IComparer interface. (Inherited from DataGridView.)
Public methodSort(DataGridViewColumn, ListSortDirection)Sorts the contents of the DataGridView control in ascending or descending order based on the contents of the specified column. (Inherited from DataGridView.)
Public methodSuspendLayout
Public methodToStringReturns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.)
Public methodUpdateCauses the control to redraw the invalidated regions within its client area. (Inherited from Control.)
Protected methodUpdateBounds()Updates the bounds of the control with the current size and location. (Inherited from Control.)
Protected methodUpdateBounds(Int32, Int32, Int32, Int32)Updates the bounds of the control with the specified size and location. (Inherited from Control.)
Protected methodUpdateBounds(Int32, Int32, Int32, Int32, Int32, Int32)Updates the bounds of the control with the specified size, location, and client size. (Inherited from Control.)
Public methodUpdateCellErrorTextForces the cell at the specified location to update its error text. (Inherited from DataGridView.)
Public methodUpdateCellValueForces 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. (Inherited from DataGridView.)
Public methodUpdateRowErrorText(Int32)Forces the row at the given row index to update its error text. (Inherited from DataGridView.)
Public methodUpdateRowErrorText(Int32, Int32)Forces the rows in the given range to update their error text. (Inherited from DataGridView.)
Public methodUpdateRowHeightInfoForces the specified row or rows to update their height information. (Inherited from DataGridView.)
Protected methodUpdateStylesForces the assigned styles to be reapplied to the control. (Inherited from Control.)
Public methodUpdateWidths
Protected methodUpdateZOrderUpdates the control in its parent's z-order. (Inherited from Control.)
Protected methodWndProc (Overrides DataGridView.WndProc(Message).)
Top
  NameDescription
Public eventAllowUserToAddRowsChangedOccurs when the value of the AllowUserToAddRows property changes. (Inherited from DataGridView.)
Public eventAllowUserToDeleteRowsChangedOccurs when the value of the AllowUserToDeleteRowsChanged property changes. (Inherited from DataGridView.)
Public eventAllowUserToOrderColumnsChangedOccurs when the value of the AllowUserToOrderColumns property changes. (Inherited from DataGridView.)
Public eventAllowUserToResizeColumnsChangedOccurs when the value of the AllowUserToResizeColumns property changes. (Inherited from DataGridView.)
Public eventAllowUserToResizeRowsChangedOccurs when the value of the AllowUserToResizeRows property changes. (Inherited from DataGridView.)
Public eventAlternatingRowsDefaultCellStyleChangedOccurs when the value of the AlternatingRowsDefaultCellStyle property changes. (Inherited from DataGridView.)
Public eventAutoGenerateColumnsChangedOccurs when the value of the AutoGenerateColumnsChanged property changes. (Inherited from DataGridView.)
Public eventAutoSizeChangedInfrastructure. This event is not relevant for this class. (Inherited from Control.)
Public eventAutoSizeColumnModeChangedOccurs when the value of the AutoSizeMode property of a column changes. (Inherited from DataGridView.)
Public eventAutoSizeColumnsModeChangedOccurs when the value of the AutoSizeColumnsMode property changes. (Inherited from DataGridView.)
Public eventAutoSizeRowsModeChangedOccurs when the value of the DataGridViewAutoSizeRowsMode property changes. (Inherited from DataGridView.)
Public eventBackColorChangedInfrastructure. Occurs when the value of the BackColor property changes. (Inherited from DataGridView.)
Public eventBackgroundColorChangedOccurs when the value of the BackgroundColor property changes. (Inherited from DataGridView.)
Public eventBackgroundImageChangedInfrastructure. Occurs when the value of the BackgroundImage property changes. (Inherited from DataGridView.)
Public eventBackgroundImageLayoutChangedInfrastructure. Occurs when the BackgroundImageLayout property changes. (Inherited from DataGridView.)
Public eventBindingContextChangedOccurs when the value of the BindingContext property changes. (Inherited from Control.)
Public eventBorderStyleChangedOccurs when the value of the BorderStyle property changes. (Inherited from DataGridView.)
Public eventCancelRowEditOccurs when the VirtualMode property of a DataGridView control is true and the cancels edits in a row. (Inherited from DataGridView.)
Public eventCausesValidationChangedOccurs when the value of the CausesValidation property changes. (Inherited from Control.)
Public eventCellBeginEditOccurs when edit mode starts for the selected cell. (Inherited from DataGridView.)
Public eventCellBorderStyleChangedOccurs when the border style of a cell changes. (Inherited from DataGridView.)
Public eventCellClickOccurs when any part of a cell is clicked. (Inherited from DataGridView.)
Public eventCellContentClickOccurs when the content within a cell is clicked. (Inherited from DataGridView.)
Public eventCellContentDoubleClickOccurs when the user double-clicks a cell's contents. (Inherited from DataGridView.)
Public eventCellContextMenuStripChangedOccurs when the ContextMenuStrip property changes. (Inherited from DataGridView.)
Public eventCellContextMenuStripNeededOccurs when a cell's shortcut menu is needed. (Inherited from DataGridView.)
Public eventCellDoubleClickOccurs when the user double-clicks anywhere in a cell. (Inherited from DataGridView.)
Public eventCellEndEditOccurs when edit mode stops for the currently selected cell. (Inherited from DataGridView.)
Public eventCellEnterOccurs when the current cell changes in the DataGridView control or when the control receives input focus. (Inherited from DataGridView.)
Public eventCellErrorTextChangedOccurs when the value of the ErrorText property of a cell changes. (Inherited from DataGridView.)
Public eventCellErrorTextNeededOccurs when a cell's error text is needed. (Inherited from DataGridView.)
Public eventCellFormattingOccurs when the contents of a cell need to be formatted for display. (Inherited from DataGridView.)
Public eventCellLeaveOccurs when a cell loses input focus and is no longer the current cell. (Inherited from DataGridView.)
Public eventCellMouseClickOccurs whenever the user clicks anywhere on a cell with the mouse. (Inherited from DataGridView.)
Public eventCellMouseDoubleClickOccurs when a cell within the DataGridView is double-clicked. (Inherited from DataGridView.)
Public eventCellMouseDownOccurs when the user presses a mouse button while the mouse pointer is within the boundaries of a cell. (Inherited from DataGridView.)
Public eventCellMouseEnterOccurs when the mouse pointer enters a cell. (Inherited from DataGridView.)
Public eventCellMouseLeaveOccurs when the mouse pointer leaves a cell. (Inherited from DataGridView.)
Public eventCellMouseMoveOccurs when the mouse pointer moves over the DataGridView control. (Inherited from DataGridView.)
Public eventCellMouseUpOccurs when the user releases a mouse button while over a cell. (Inherited from DataGridView.)
Public eventCellPaintingOccurs when a cell needs to be drawn. (Inherited from DataGridView.)
Public eventCellParsingOccurs when a cell leaves edit mode if the cell value has been modified. (Inherited from DataGridView.)
Public eventCellStateChangedOccurs when a cell state changes, such as when the cell loses or gains focus. (Inherited from DataGridView.)
Public eventCellStyleChangedOccurs when the Style property of a DataGridViewCell changes. (Inherited from DataGridView.)
Public eventCellStyleContentChangedOccurs when one of the values of a cell style changes. (Inherited from DataGridView.)
Public eventCellToolTipTextChangedOccurs when the ToolTipText property value changes for a cell in the DataGridView. (Inherited from DataGridView.)
Public eventCellToolTipTextNeededOccurs when a cell's ToolTip text is needed. (Inherited from DataGridView.)
Public eventCellValidatedOccurs after the cell has finished validating. (Inherited from DataGridView.)
Public eventCellValidatingOccurs when a cell loses input focus, enabling content validation. (Inherited from DataGridView.)
Public eventCellValueChangedOccurs when the value of a cell changes. (Inherited from DataGridView.)
Public eventCellValueNeededOccurs when the VirtualMode property of the DataGridView control is true and the DataGridView requires a value for a cell in order to format and display the cell. (Inherited from DataGridView.)
Public eventCellValuePushedOccurs when the VirtualMode property of the DataGridView control is true and a cell value has changed and requires storage in the underlying data source. (Inherited from DataGridView.)
Public eventChangeUICuesOccurs when the focus or keyboard user interface (UI) cues change. (Inherited from Control.)
Public eventClickOccurs when the control is clicked. (Inherited from Control.)
Public eventClientSizeChangedOccurs when the value of the ClientSize property changes. (Inherited from Control.)
Public eventCollectionChanging
Public eventColumnAddedOccurs when a column is added to the control. (Inherited from DataGridView.)
Public eventColumnContextMenuStripChangedOccurs when the ContextMenuStrip property of a column changes. (Inherited from DataGridView.)
Public eventColumnDataPropertyNameChangedOccurs when the value of the DataPropertyName property for a column changes. (Inherited from DataGridView.)
Public eventColumnDefaultCellStyleChangedOccurs when the value of the DefaultCellStyle property for a column changes. (Inherited from DataGridView.)
Public eventColumnDisplayIndexChangedOccurs when the value the DisplayIndex property for a column changes. (Inherited from DataGridView.)
Public eventColumnDividerDoubleClickOccurs when the user double-clicks a divider between two columns. (Inherited from DataGridView.)
Public eventColumnDividerWidthChangedOccurs when the DividerWidth property changes. (Inherited from DataGridView.)
Public eventColumnHeaderCellChangedOccurs when the contents of a column header cell change. (Inherited from DataGridView.)
Public eventColumnHeaderMouseClickOccurs when the user clicks a column header. (Inherited from DataGridView.)
Public eventColumnHeaderMouseDoubleClickOccurs when a column header is double-clicked. (Inherited from DataGridView.)
Public eventColumnHeadersBorderStyleChangedOccurs when the ColumnHeadersBorderStyle property changes. (Inherited from DataGridView.)
Public eventColumnHeadersDefaultCellStyleChangedOccurs when the value of the ColumnHeadersDefaultCellStyle property changes. (Inherited from DataGridView.)
Public eventColumnHeadersHeightChangedOccurs when the value of the ColumnHeadersHeight property changes. (Inherited from DataGridView.)
Public eventColumnHeadersHeightSizeModeChangedOccurs when the value of the ColumnHeadersHeightSizeMode property changes. (Inherited from DataGridView.)
Public eventColumnMinimumWidthChangedOccurs when the value of the MinimumWidth property for a column changes. (Inherited from DataGridView.)
Public eventColumnNameChangedOccurs when the value of the Name property for a column changes. (Inherited from DataGridView.)
Public eventColumnRemovedOccurs when a column is removed from the control. (Inherited from DataGridView.)
Public eventColumnSortModeChangedOccurs when the value of the SortMode property for a column changes. (Inherited from DataGridView.)
Public eventColumnStateChangedOccurs when a column changes state, such as gaining or losing focus. (Inherited from DataGridView.)
Public eventColumnToolTipTextChangedOccurs when the ToolTipText property value changes for a column in the DataGridView. (Inherited from DataGridView.)
Public eventColumnWidthChangedOccurs when the value of the Width property for a column changes. (Inherited from DataGridView.)
Public eventContextMenuChangedOccurs when the value of the ContextMenu property changes. (Inherited from Control.)
Public eventContextMenuPopupThis event is fired when the user requests to show the context menu.
Public eventContextMenuStripChangedOccurs when the value of the ContextMenuStrip property changes. (Inherited from Control.)
Public eventControlAddedOccurs when a new control is added to the Control.ControlCollection. (Inherited from Control.)
Public eventControlRemovedOccurs when a control is removed from the Control.ControlCollection. (Inherited from Control.)
Public eventCurrentCellChangedOccurs when the CurrentCell property changes. (Inherited from DataGridView.)
Public eventCurrentCellDirtyStateChangedOccurs when the state of a cell changes in relation to a change in its contents. (Inherited from DataGridView.)
Public eventCursorChangedOccurs when the value of the Cursor property changes. (Inherited from Control.)
Public eventDataBindingCompleteOccurs after a data-binding operation has finished. (Inherited from DataGridView.)
Public eventDataErrorOccurs when an external data-parsing or validation operation throws an exception, or when an attempt to commit data to a data source fails. (Inherited from DataGridView.)
Public eventDataMemberChangedOccurs when value of the DataMember property changes. (Inherited from DataGridView.)
Public eventDataSourceChangedOccurs when the value of the DataSource property changes. (Inherited from DataGridView.)
Public eventDefaultCellStyleChangedOccurs when the value of the DefaultCellStyle property changes. (Inherited from DataGridView.)
Public eventDefaultValuesNeededOccurs when the user enters the row for new records so that it can be populated with default values. (Inherited from DataGridView.)
Public eventDisposedOccurs when the component is disposed by a call to the Dispose method. (Inherited from Component.)
Public eventDockChangedOccurs when the value of the Dock property changes. (Inherited from Control.)
Public eventDoubleClickOccurs when the control is double-clicked. (Inherited from Control.)
Public eventDragDropOccurs when a drag-and-drop operation is completed. (Inherited from Control.)
Public eventDragEnterOccurs when an object is dragged into the control's bounds. (Inherited from Control.)
Public eventDragLeaveOccurs when an object is dragged out of the control's bounds. (Inherited from Control.)
Public eventDragOverOccurs when an object is dragged over the control's bounds. (Inherited from Control.)
Public eventEditingControlShowingOccurs when a control for editing a cell is showing. (Inherited from DataGridView.)
Public eventEditModeChangedOccurs when the value of the EditMode property changes. (Inherited from DataGridView.)
Public eventEnabledChangedOccurs when the Enabled property value has changed. (Inherited from Control.)
Public eventEnterOccurs when the control is entered. (Inherited from Control.)
Public eventFontChangedOccurs when the Font property value changes. (Inherited from DataGridView.)
Public eventForeColorChangedOccurs when the ForeColor property value changes. (Inherited from DataGridView.)
Public eventGiveFeedbackOccurs during a drag operation. (Inherited from Control.)
Public eventGotFocusOccurs when the control receives focus. (Inherited from Control.)
Public eventGridColorChangedOccurs when the value of the GridColor property changes. (Inherited from DataGridView.)
Public eventHandleCreatedOccurs when a handle is created for the control. (Inherited from Control.)
Public eventHandleDestroyedOccurs when the control's handle is in the process of being destroyed. (Inherited from Control.)
Public eventHelpRequestedOccurs when the user requests help for a control. (Inherited from Control.)
Public eventImeModeChangedOccurs when the ImeMode property has changed. (Inherited from Control.)
Public eventInvalidatedOccurs when a control's display requires redrawing. (Inherited from Control.)
Public eventKeyDownOccurs when a key is pressed while the control has focus. (Inherited from Control.)
Public eventKeyPressOccurs when a key is pressed while the control has focus. (Inherited from Control.)
Public eventKeyUpOccurs when a key is released while the control has focus. (Inherited from Control.)
Public eventLayoutOccurs when a control should reposition its child controls. (Inherited from Control.)
Public eventLeaveOccurs when the input focus leaves the control. (Inherited from Control.)
Public eventLocationChangedOccurs when the Location property value has changed. (Inherited from Control.)
Public eventLostFocusOccurs when the control loses focus. (Inherited from Control.)
Public eventMarginChangedOccurs when the control's margin changes. (Inherited from Control.)
Public eventMouseCaptureChangedOccurs when the control loses mouse capture. (Inherited from Control.)
Public eventMouseClickOccurs when the control is clicked by the mouse. (Inherited from Control.)
Public eventMouseDoubleClickOccurs when the control is double clicked by the mouse. (Inherited from Control.)
Public eventMouseDownOccurs when the mouse pointer is over the control and a mouse button is pressed. (Inherited from Control.)
Public eventMouseEnterOccurs when the mouse pointer enters the control. (Inherited from Control.)
Public eventMouseHoverOccurs when the mouse pointer rests on the control. (Inherited from Control.)
Public eventMouseLeaveOccurs when the mouse pointer leaves the control. (Inherited from Control.)
Public eventMouseMoveOccurs when the mouse pointer is moved over the control. (Inherited from Control.)
Public eventMouseUpOccurs when the mouse pointer is over the control and a mouse button is released. (Inherited from Control.)
Public eventMouseWheelOccurs when the mouse wheel moves while the control has focus. (Inherited from Control.)
Public eventMoveOccurs when the control is moved. (Inherited from Control.)
Public eventMultiSelectChangedOccurs when the value of the MultiSelect property changes. (Inherited from DataGridView.)
Public eventNewRowNeededOccurs when the VirtualMode property of the DataGridView is true and the user navigates to the new row at the bottom of the DataGridView. (Inherited from DataGridView.)
Public eventPaddingChangedInfrastructure. Occurs when the value of the Padding property changes. (Inherited from DataGridView.)
Public eventPaintOccurs when the control is redrawn. (Inherited from Control.)
Public eventParentChangedOccurs when the Parent property value changes. (Inherited from Control.)
Public eventPreviewKeyDownOccurs before the KeyDown event when a key is pressed while focus is on this control. (Inherited from Control.)
Public eventQueryAccessibilityHelpOccurs when AccessibleObject is providing help to accessibility applications. (Inherited from Control.)
Public eventQueryContinueDragOccurs during a drag-and-drop operation and enables the drag source to determine whether the drag-and-drop operation should be canceled. (Inherited from Control.)
Public eventReadOnlyChangedOccurs when the ReadOnly property changes. (Inherited from DataGridView.)
Public eventRegionChangedOccurs when the value of the Region property changes. (Inherited from Control.)
Public eventResizeOccurs when the control is resized. (Inherited from Control.)
Public eventRightToLeftChangedOccurs when the RightToLeft property value changes. (Inherited from Control.)
Public eventRowContextMenuStripChangedOccurs when the ContextMenuStrip property changes. (Inherited from DataGridView.)
Public eventRowContextMenuStripNeededOccurs when a row's shortcut menu is needed. (Inherited from DataGridView.)
Public eventRowDefaultCellStyleChangedOccurs when the value of the DefaultCellStyle property for a row changes. (Inherited from DataGridView.)
Public eventRowDirtyStateNeededOccurs when the VirtualMode property of the DataGridView control is true and the DataGridView needs to determine whether the current row has uncommitted changes. (Inherited from DataGridView.)
Public eventRowDividerDoubleClickOccurs when the user double-clicks the divider between two rows. (Inherited from DataGridView.)
Public eventRowDividerHeightChangedOccurs when the DividerHeight property changes. (Inherited from DataGridView.)
Public eventRowEnterOccurs when a row receives input focus but before it becomes the current row. (Inherited from DataGridView.)
Public eventRowErrorTextChangedOccurs when the ErrorText property of a row changes. (Inherited from DataGridView.)
Public eventRowErrorTextNeededOccurs when a row's error text is needed. (Inherited from DataGridView.)
Public eventRowHeaderCellChangedOccurs when the user changes the contents of a row header cell. (Inherited from DataGridView.)
Public eventRowHeaderMouseClickOccurs when the user clicks within the boundaries of a row header. (Inherited from DataGridView.)
Public eventRowHeaderMouseDoubleClickOccurs when a row header is double-clicked. (Inherited from DataGridView.)
Public eventRowHeadersBorderStyleChangedOccurs when the RowHeadersBorderStyle property changes. (Inherited from DataGridView.)
Public eventRowHeadersDefaultCellStyleChangedOccurs when the value of the RowHeadersDefaultCellStyle property changes. (Inherited from DataGridView.)
Public eventRowHeadersWidthChangedOccurs when value of the RowHeadersWidth property changes. (Inherited from DataGridView.)
Public eventRowHeadersWidthSizeModeChangedOccurs when the value of the RowHeadersWidthSizeMode property changes. (Inherited from DataGridView.)
Public eventRowHeightChangedOccurs when the value of the Height property for a row changes. (Inherited from DataGridView.)
Public eventRowHeightInfoNeededOccurs when information about row height is requested. (Inherited from DataGridView.)
Public eventRowHeightInfoPushedOccurs when the user changes the height of a row. (Inherited from DataGridView.)
Public eventRowLeaveOccurs when a row loses input focus and is no longer the current row. (Inherited from DataGridView.)
Public eventRowMinimumHeightChangedOccurs when the value of the MinimumHeight property for a row changes. (Inherited from DataGridView.)
Public eventRowPostPaintOccurs after a DataGridViewRow is painted. (Inherited from DataGridView.)
Public eventRowPrePaintOccurs before a DataGridViewRow is painted (Inherited from DataGridView.)
Public eventRowsAddedOccurs after a new row is added to the DataGridView. (Inherited from DataGridView.)
Public eventRowsDefaultCellStyleChangedOccurs when the value of the RowsDefaultCellStyle property changes. (Inherited from DataGridView.)
Public eventRowsRemovedOccurs when a row or rows are deleted from the DataGridView. (Inherited from DataGridView.)
Public eventRowStateChangedOccurs when a row changes state, such as losing or gaining input focus. (Inherited from DataGridView.)
Public eventRowUnsharedOccurs when a row's state changes from shared to unshared. (Inherited from DataGridView.)
Public eventRowValidatedOccurs after a row has finished validating. (Inherited from DataGridView.)
Public eventRowValidatingOccurs when a row is validating. (Inherited from DataGridView.)
Public eventScrollOccurs when the user scrolls through the control contents. (Inherited from DataGridView.)
Public eventSelectionChangedOccurs when the current selection changes. (Inherited from DataGridView.)
Public eventSizeChangedOccurs when the Size property value changes. (Inherited from Control.)
Public eventSortCompareOccurs when the DataGridView compares two cell values to perform a sort operation. (Inherited from DataGridView.)
Public eventSortedOccurs when the DataGridView control completes a sorting operation. (Inherited from DataGridView.)
Public eventStyleChangedInfrastructure. Occurs when the control style changes. (Inherited from DataGridView.)
Public eventSystemColorsChangedOccurs when the system colors change. (Inherited from Control.)
Public eventTabIndexChangedOccurs when the TabIndex property value changes. (Inherited from Control.)
Public eventTabStopChangedOccurs when the TabStop property value changes. (Inherited from Control.)
Public eventTextChangedInfrastructure. Occurs when the value of the Text property changes. (Inherited from DataGridView.)
Public eventUserAddedRowOccurs when the user has finished adding a row to the DataGridView control. (Inherited from DataGridView.)
Public eventUserDeletedRowOccurs when the user has finished deleting a row from the DataGridView control. (Inherited from DataGridView.)
Public eventUserDeletingRowOccurs when the user deletes a row from the DataGridView control. (Inherited from DataGridView.)
Public eventValidatedOccurs when the control is finished validating. (Inherited from Control.)
Public eventValidatingOccurs when the control is validating. (Inherited from Control.)
Public eventVisibleChangedOccurs when the Visible property value changes. (Inherited from Control.)
Top
  NameDescription
Protected fieldStatic memberInternalColumn
Top
  NameDescription
Explicit interface implemetationPrivate methodISupportInitialize.BeginInitFor a description of this member, see BeginInit. (Inherited from DataGridView.)
Explicit interface implemetationPrivate methodISupportInitialize.EndInitFor a description of this member, see EndInit. (Inherited from DataGridView.)
Explicit interface implemetationPrivate methodIDropTarget.OnDragDropInfrastructure. Raises the DragDrop event. (Inherited from Control.)
Explicit interface implemetationPrivate methodIDropTarget.OnDragEnterInfrastructure. Raises the DragEnter event. (Inherited from Control.)
Explicit interface implemetationPrivate methodIDropTarget.OnDragLeaveInfrastructure. Raises the DragLeave event. (Inherited from Control.)
Explicit interface implemetationPrivate methodIDropTarget.OnDragOverInfrastructure. Raises the DragOver event. (Inherited from Control.)
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.