| 名称 | 说明 |
---|
 | AccessibilityNotifyClients(AccessibleEvents, Int32) | 就指定的子控件的指定 AccessibleEvents 通知辅助功能客户端应用程序。 (继承自 Control。) |
 | AccessibilityNotifyClients(AccessibleEvents, Int32, Int32) | 就指定的子控件的指定 AccessibleEvents 通知辅助功能客户端应用程序。 (继承自 Control。) |
 | AccessibilityNotifyCurrentCellChanged | ,当新的单元格变为当前单元格时,请注意可访问的客户端应用程序。 |
 | AdjustColumnHeaderBorderStyle | 为当前正在绘制 DataGridView 的列标题单元格调整 DataGridViewAdvancedBorderStyle 。 |
 | AreAllCellsSelected | 返回一 DataGridView 所有单元格是否的值当前选定。 |
 | AutoResizeColumn(Int32) | 调整指定列的宽度适合其所有单元格内容,包括标头单元格。 |
 | AutoResizeColumn(Int32, DataGridViewAutoSizeColumnMode) | 使用指定的大小模式,调整指定列的宽度。 |
 | AutoResizeColumn(Int32, DataGridViewAutoSizeColumnMode, Boolean) | 使用指定的大小模式,调整,还可以计算和所需的指定列的宽度宽度随后将调整行高。 |
 | AutoResizeColumnHeadersHeight() | 调整列标头的高度以适合最大的列标头的内容。 |
 | AutoResizeColumnHeadersHeight(Int32) | 调整根据该头文件的内容更改的列标头的高度 (以指定列上。 |
 | AutoResizeColumnHeadersHeight(Boolean, Boolean) | 调整与其内容,并且可以计算该高度的列标头的高度随后将调整行和列标头的宽度预期。 |
 | AutoResizeColumnHeadersHeight(Int32, Boolean, Boolean) | 调整根据在指定的列中,选择计算与随后将调整列和行标题宽度的预期该头文件的内容的更改的列标头的高度高度。 |
 | AutoResizeColumns() | 调整所有列的宽度容纳所有其单元格内容,包括标头单元格。 |
 | AutoResizeColumns(DataGridViewAutoSizeColumnsMode) | 使用指定的大小模式,调整所有列的宽度。 |
 | AutoResizeColumns(DataGridViewAutoSizeColumnsMode, Boolean) | 使用指定的大小模式,调整,还可以计算和所需的所有列的宽度宽度随后将调整行高。 |
 | AutoResizeRow(Int32) | 调整指定的行的高度适合其所有单元格内容包括标头单元格。 |
 | AutoResizeRow(Int32, DataGridViewAutoSizeRowMode) | 使用指定的大小模式,调整指定的行的高度。 |
 | AutoResizeRow(Int32, DataGridViewAutoSizeRowMode, Boolean) | 使用指定的大小模式,调整,还可以计算与预期指定的行的高度高度随后将调整列宽。 |
 | AutoResizeRowHeadersWidth(DataGridViewRowHeadersWidthSizeMode) | 使用指定的大小模式,调整行标头的宽度。 |
 | AutoResizeRowHeadersWidth(Int32, DataGridViewRowHeadersWidthSizeMode) | 调整根据该头文件的内容的更改的行标头的宽度在指定的行和使用指定的大小模式上。 |
 | AutoResizeRowHeadersWidth(DataGridViewRowHeadersWidthSizeMode, Boolean, Boolean) | 使用指定的大小模式,调整,还可以计算与随后将调整行和列标头的宽度所需的行标头的宽度宽度。 |
 | AutoResizeRowHeadersWidth(Int32, DataGridViewRowHeadersWidthSizeMode, Boolean, Boolean) | 调整根据在指定的行和使用指定的大小模式上,选择计算与随后将调整行和列标头的宽度预期该头文件的内容的更改的行标头的宽度宽度。 |
 | AutoResizeRows() | 调整高度所有行容纳所有其单元格内容,包括标头单元格。 |
 | AutoResizeRows(DataGridViewAutoSizeRowsMode) | 使用指定的大小模式值,调整行的高度。 |
 | AutoResizeRows(DataGridViewAutoSizeRowsMode, Boolean) | 使用指定的大小模式,调整所有行,还可以计算和所需的高度高度随后将调整列宽。 |
 | AutoResizeRows(Int32, Int32, DataGridViewAutoSizeRowMode, Boolean) | 使用指定的大小模式,调整,还可以计算与预期指定的行的高度高度随后将调整列宽。 |
 | BeginEdit | 将当前单元格编辑模式。 |
 | BeginInvoke(Delegate) | 在创建控件的基础句柄所在线程上异步执行指定委托。 (继承自 Control。) |
 | BeginInvoke(Delegate, Object[]) | 在创建控件的基础句柄所在线程上,用指定的参数异步执行指定委托。 (继承自 Control。) |
 | BringToFront | 将控件带到 Z 顺序的前面。 (继承自 Control。) |
 | CancelEdit | 移除当前选定的单元格的编辑模式,并放弃任何更改。 |
 | ClearSelection() | 通过 unselecting 所有选定单元格清除当前选择。 |
 | ClearSelection(Int32, Int32, Boolean) | 移除,但一个指示,可以选择相应的所有当前选定单元格中选择一个单元格被选择。 |
 | CommitEdit | 承诺在当前单元格中的更改到数据缓存,而无需关闭编辑模式。 |
 | Contains | 检索一个值,该值指示指定控件是否为一个控件的子控件。 (继承自 Control。) |
 | CreateAccessibilityInstance | 创建 DataGridView的新可访问对象。 (重写 Control.CreateAccessibilityInstance()。) |
 | CreateColumnsInstance | 创建并返回新 DataGridViewColumnCollection。 |
 | CreateControl | 强制创建可见控件,包括创建句柄和任何可见子控件。 (继承自 Control。) |
 | CreateControlsInstance | 创建并返回可被强制转换为类型 DataGridView.DataGridViewControlCollection的新 Control.ControlCollection 。 (重写Control.CreateControlsInstance()。) |
 | CreateGraphics | 为控件创建 Graphics。 (继承自 Control。) |
 | CreateHandle | 为该控件创建句柄。 (继承自 Control。) |
 | CreateObjRef | 创建一个对象,该对象包含生成用于与远程对象进行通信的代理所需的全部相关信息。 (继承自 MarshalByRefObject。) |
 | CreateRowsInstance | 创建并返回新 DataGridViewRowCollection。 |
 | DefWndProc | 向默认窗口过程发送指定消息。 (继承自 Control。) |
 | DestroyHandle | 毁坏与该控件关联的句柄。 (继承自 Control。) |
 | DisplayedColumnCount | 返回的列数显示给用户。 |
 | DisplayedRowCount | 返回要显示给用户。 |
 | Dispose() | 释放由 Component 使用的所有资源。 (继承自 Component。) |
 | Dispose(Boolean) | 释放由 Control 和它的子控件占用的非托管资源,另外还可以释放托管资源。 (重写 Control.Dispose(Boolean)。) |
 | DoDragDrop | 开始拖放操作。 (继承自 Control。) |
 | DrawToBitmap | 支持呈现到指定的位图。 (继承自 Control。) |
 | EndEdit() | 使用默认错误上下文,使并关闭在当前单元格的编辑操作。 |
 | EndEdit(DataGridViewDataErrorContexts) | 使用指定的错误上下文,使并关闭在当前单元格的编辑操作。 |
 | EndInvoke | 检索由传递的 IAsyncResult 表示的异步操作的返回值。 (继承自 Control。) |
 | Equals(Object) | 确定指定的对象是否等于当前对象。 (继承自 Object。) |
 | Finalize | 在通过垃圾回收将 Component 回收之前,释放非托管资源并执行其他清理操作。 (继承自 Component。) |
 | FindForm | 检索控件所在的窗体。 (继承自 Control。) |
 | Focus | 为控件设置输入焦点。 (继承自 Control。) |
 | GetAccessibilityObjectById | 检索指定的 AccessibleObject。 (重写 Control.GetAccessibilityObjectById(Int32)。) |
 | GetAutoSizeMode | 检索一个值,该值指示当启用控件的 AutoSize 属性时控件的行为方式。 (继承自 Control。) |
 | GetCellCount | 获取满足提供的筛选器单元格数目。 |
 | GetCellDisplayRectangle | 返回表示单元格的显示区域的矩形。 |
 | GetChildAtPoint(Point) | 检索位于指定坐标处的子控件。 (继承自 Control。) |
 | GetChildAtPoint(Point, GetChildAtPointSkip) | 检索位于指定坐标的子控件,并且指定是否忽略特定类型的子控件。 (继承自 Control。) |
 | GetClipboardContent | 检索表示单元格的内容复制到 Clipboard的格式化值。 |
 | GetColumnDisplayRectangle | 返回表示列的显示区域的矩形,由列索引。 |
 | GetContainerControl | 沿着控件的父控件链向上,返回下一个 ContainerControl。 (继承自 Control。) |
 | GetHashCode | 作为默认哈希函数。 (继承自 Object。) |
 | GetLifetimeService | 检索控制此实例的生存期策略的当前生存期服务对象。 (继承自 MarshalByRefObject。) |
 | GetNextControl | 按照子控件的 Tab 键顺序向前或向后检索下一个控件。 (继承自 Control。) |
 | GetPreferredSize | 检索适合控件的矩形区域的大小。 (继承自 Control。) |
 | GetRowDisplayRectangle | 返回表示行的显示区域的矩形,由行索引。 |
 | GetScaledBounds | 检索缩放控件时的边界。 (继承自 Control。) |
 | GetService | 返回一个对象,该对象表示由 Component 或它的 Container 提供的服务。 (继承自 Component。) |
 | GetStyle | 为控件检索指定控件样式位的值。 (继承自 Control。) |
 | GetTopLevel | 确定控件是否是顶级控件。 (继承自 Control。) |
 | GetType | 获取当前实例的 Type。 (继承自 Object。) |
 | Hide | 对用户隐藏控件。 (继承自 Control。) |
 | HitTest | 返回单元格信息,如行和列索引给定 x 坐标和 y 坐标。 |
 | InitializeLifetimeService | 获取控制此实例的生存期策略的生存期服务对象。 (继承自 MarshalByRefObject。) |
 | InitLayout | 在将控件添加到另一个容器之后调用。 (继承自 Control。) |
 | Invalidate() | 使控件的整个图面无效并导致重绘控件。 (继承自 Control。) |
 | Invalidate(Boolean) | 使控件的特定区域无效并向控件发送绘制消息。 还可以使分配给该控件的子控件无效。 (继承自 Control。) |
 | Invalidate(Rectangle) | 使控件的指定区域无效(将其添加到控件的更新区域,下次绘制操作时将重新绘制更新区域),并向控件发送绘制消息。 (继承自Control。) |
 | Invalidate(Region) | 使控件的指定区域无效(将其添加到控件的更新区域,下次绘制操作时将重新绘制更新区域),并向控件发送绘制消息。 (继承自Control。) |
 | Invalidate(Rectangle, Boolean) | 使控件的指定区域无效(将其添加到控件的更新区域,下次绘制操作时将重新绘制更新区域),并向控件发送绘制消息。 还可以使分配给该控件的子控件无效。 (继承自 Control。) |
 | Invalidate(Region, Boolean) | 使控件的指定区域无效(将其添加到控件的更新区域,下次绘制操作时将重新绘制更新区域),并向控件发送绘制消息。 还可以使分配给该控件的子控件无效。 (继承自 Control。) |
 | InvalidateCell(DataGridViewCell) | 无效 DataGridView的指定单元格,强制则会重新绘制。 |
 | InvalidateCell(Int32, Int32) | 无效使用指定的行和列索引的单元格,强制则会重新绘制。 |
 | InvalidateColumn | 无效 DataGridView的指定列,强制则会重新绘制。 |
 | InvalidateRow | 无效 DataGridView的指定的行,强制则会重新绘制。 |
 | Invoke(Delegate) | 在拥有此控件的基础窗口句柄的线程上执行指定的委托。 (继承自 Control。) |
 | Invoke(Delegate, Object[]) | 在拥有控件的基础窗口句柄的线程上,用指定的参数列表执行指定委托。 (继承自 Control。) |
 | InvokeGotFocus | 为指定的控件引发 GotFocus 事件。 (继承自 Control。) |
 | InvokeLostFocus | 为指定的控件引发 LostFocus 事件。 (继承自 Control。) |
 | InvokeOnClick | 为指定的控件引发 Click 事件。 (继承自 Control。) |
 | InvokePaint | 为指定的控件引发 Paint 事件。 (继承自 Control。) |
 | InvokePaintBackground | 为指定的控件引发 PaintBackground 事件。 (继承自 Control。) |
 | IsInputChar | 确定字符是否为 DataGridView 识别的输入字符。 (重写 Control.IsInputChar(Char)。) |
 | IsInputKey | 确定指定的键是常规输入键还是需要预处理的特殊键。 (重写 Control.IsInputKey(Keys)。) |
 | MemberwiseClone() | 创建当前 Object 的浅表副本。 (继承自 Object。) |
 | MemberwiseClone(Boolean) | 创建当前 MarshalByRefObject 对象的浅表副本。 (继承自 MarshalByRefObject。) |
 | NotifyCurrentCellDirty | 请注意 DataGridView 当前单元格具有未提交的更改。 |
 | NotifyInvalidate | 基础结构。引发 Invalidated 事件,其中带有要使之无效的控件的指定区域。 (继承自 Control。) |
 | OnAllowUserToAddRowsChanged | 引发 AllowUserToAddRowsChanged 事件。 |
 | OnAllowUserToDeleteRowsChanged | 引发 AllowUserToDeleteRowsChanged 事件。 |
 | OnAllowUserToOrderColumnsChanged | 引发 AllowUserToOrderColumnsChanged 事件。 |
 | OnAllowUserToResizeColumnsChanged | 引发 AllowUserToResizeColumnsChanged 事件。 |
 | OnAllowUserToResizeRowsChanged | 引发 AllowUserToResizeRowsChanged 事件。 |
 | OnAlternatingRowsDefaultCellStyleChanged | 引发 AlternatingRowsDefaultCellStyleChanged 事件。 |
 | OnAutoGenerateColumnsChanged | 引发 AutoGenerateColumnsChanged 事件。 |
 | OnAutoSizeChanged | 引发 AutoSizeChanged 事件。 (继承自 Control。) |
 | OnAutoSizeColumnModeChanged | 引发 AutoSizeColumnModeChanged 事件。 |
 | OnAutoSizeColumnsModeChanged | 引发 AutoSizeColumnsModeChanged 事件。 |
 | OnAutoSizeRowsModeChanged | 引发 AutoSizeRowsModeChanged 事件。 |
 | OnBackColorChanged | 引发 BackColorChanged 事件。 (继承自 Control。) |
 | OnBackgroundColorChanged | 引发 BackgroundColorChanged 事件。 |
 | OnBackgroundImageChanged | 引发 BackgroundImageChanged 事件。 (继承自 Control。) |
 | OnBackgroundImageLayoutChanged | 引发 BackgroundImageLayoutChanged 事件。 (继承自 Control。) |
 | OnBindingContextChanged | 引发 BindingContextChanged 事件。 (重写 Control.OnBindingContextChanged(EventArgs)。) |
 | OnBorderStyleChanged | 引发 BorderStyleChanged 事件。 |
 | OnCancelRowEdit | 引发 CancelRowEdit 事件。 |
 | OnCausesValidationChanged | 引发 CausesValidationChanged 事件。 (继承自 Control。) |
 | OnCellBeginEdit | 引发 CellBeginEdit 事件。 |
 | OnCellBorderStyleChanged | 引发 CellBorderStyleChanged 事件。 |
 | OnCellClick | 引发 CellClick 事件。 |
 | OnCellContentClick | 引发 CellContentClick 事件。 |
 | OnCellContentDoubleClick | 引发 CellContentDoubleClick 事件。 |
 | OnCellContextMenuStripChanged | 引发 CellContextMenuStripChanged 事件。 |
 | OnCellContextMenuStripNeeded | 引发 CellContextMenuStripNeeded 事件。 |
 | OnCellDoubleClick | 引发 CellDoubleClick 事件。 |
 | OnCellEndEdit | 引发 CellEndEdit 事件。 |
 | OnCellEnter | 引发 CellEnter 事件。 |
 | OnCellErrorTextChanged | 引发 CellErrorTextChanged 事件。 |
 | OnCellErrorTextNeeded | 引发 CellErrorTextNeeded 事件。 |
 | OnCellFormatting | 引发 CellFormatting 事件。 |
 | OnCellLeave | 引发 CellLeave 事件。 |
 | OnCellMouseClick | 引发 CellMouseClick 事件。 |
 | OnCellMouseDoubleClick | 引发 CellMouseDoubleClick 事件。 |
 | OnCellMouseDown | 引发 CellMouseDown 事件。 |
 | OnCellMouseEnter | 引发 CellMouseEnter 事件。 |
 | OnCellMouseLeave | 引发 CellMouseLeave 事件。 |
 | OnCellMouseMove | 引发 CellMouseMove 事件。 |
 | OnCellMouseUp | 引发 CellMouseUp 事件。 |
 | OnCellPainting | 引发 CellPainting 事件。 |
 | OnCellParsing | 引发 CellParsing 事件。 |
 | OnCellStateChanged | 引发 CellStateChanged 事件。 |
 | OnCellStyleChanged | 引发 CellStyleChanged 事件。 |
 | OnCellStyleContentChanged | 引发 CellStyleContentChanged 事件。 |
 | OnCellToolTipTextChanged | 引发 CellToolTipTextChanged 事件。 |
 | OnCellToolTipTextNeeded | 引发 CellToolTipTextNeeded 事件。 |
 | OnCellValidated | 引发 CellValidated 事件。 |
 | OnCellValidating | 引发 CellValidating 事件。 |
 | OnCellValueChanged | 引发 CellValueChanged 事件。 |
 | OnCellValueNeeded | 引发 CellValueNeeded 事件。 |
 | OnCellValuePushed | 引发 CellValuePushed 事件。 |
 | OnChangeUICues | 引发 ChangeUICues 事件。 (继承自 Control。) |
 | OnClick | 引发 Click 事件。 (继承自 Control。) |
 | OnClientSizeChanged | 引发 ClientSizeChanged 事件。 (继承自 Control。) |
 | OnColumnAdded | 引发 ColumnAdded 事件。 |
 | OnColumnContextMenuStripChanged | 引发 ColumnContextMenuStripChanged 事件。 |
 | OnColumnDataPropertyNameChanged | 引发 ColumnDataPropertyNameChanged 事件。 |
 | OnColumnDefaultCellStyleChanged | 引发 ColumnDefaultCellStyleChanged 事件。 |
 | OnColumnDisplayIndexChanged | 引发 ColumnDisplayIndexChanged 事件。 |
 | OnColumnDividerDoubleClick | 引发 ColumnDividerDoubleClick 事件。 |
 | OnColumnDividerWidthChanged | 引发 ColumnDividerWidthChanged 事件。 |
 | OnColumnHeaderCellChanged | 引发 ColumnHeaderCellChanged 事件。 |
 | OnColumnHeaderMouseClick | 引发 ColumnHeaderMouseClick 事件。 |
 | OnColumnHeaderMouseDoubleClick | 引发 ColumnHeaderMouseDoubleClick 事件。 |
 | OnColumnHeadersBorderStyleChanged | 引发 ColumnHeadersBorderStyleChanged 事件。 |
 | OnColumnHeadersDefaultCellStyleChanged | 引发 ColumnHeadersDefaultCellStyleChanged 事件。 |
 | OnColumnHeadersHeightChanged | 引发 ColumnHeadersHeightChanged 事件。 |
 | OnColumnHeadersHeightSizeModeChanged | 引发 ColumnHeadersHeightSizeModeChanged 事件。 |
 | OnColumnMinimumWidthChanged | 引发 ColumnMinimumWidthChanged 事件。 |
 | OnColumnNameChanged | 引发 ColumnNameChanged 事件。 |
 | OnColumnRemoved | 引发 ColumnRemoved 事件。 |
 | OnColumnSortModeChanged | 引发 ColumnSortModeChanged 事件。 |
 | OnColumnStateChanged | 引发 ColumnStateChanged 事件。 |
 | OnColumnToolTipTextChanged | 引发 ColumnToolTipTextChanged 事件。 |
 | OnColumnWidthChanged | 引发 ColumnWidthChanged 事件。 |
 | OnContextMenuChanged | 引发 ContextMenuChanged 事件。 (继承自 Control。) |
 | OnContextMenuStripChanged | 引发 ContextMenuStripChanged 事件。 (继承自 Control。) |
 | OnControlAdded | 引发 ControlAdded 事件。 (继承自 Control。) |
 | OnControlRemoved | 引发 ControlRemoved 事件。 (继承自 Control。) |
 | OnCreateControl | 引发 CreateControl 方法。 (继承自 Control。) |
 | OnCurrentCellChanged | 引发 CurrentCellChanged 事件。 |
 | OnCurrentCellDirtyStateChanged | 引发 CurrentCellDirtyStateChanged 事件。 |
 | OnCursorChanged | ,如果光标位于用户代码,都发生了更改 CursorChanged 引发事件并更新 UserSetCursor 属性。 (重写Control.OnCursorChanged(EventArgs)。) |
 | OnDataBindingComplete | 引发 DataBindingComplete 事件。 |
 | OnDataError | 引发 DataError 事件。 |
 | OnDataMemberChanged | 引发 DataMemberChanged 事件。 |
 | OnDataSourceChanged | 引发 DataSourceChanged 事件。 |
 | OnDefaultCellStyleChanged | 引发 DefaultCellStyleChanged 事件。 |
 | OnDefaultValuesNeeded | 引发 DefaultValuesNeeded 事件。 |
 | OnDockChanged | 引发 DockChanged 事件。 (继承自 Control。) |
 | OnDoubleClick | 引发 DoubleClick 事件。 (重写 Control.OnDoubleClick(EventArgs)。) |
 | OnDragDrop | 引发 DragDrop 事件。 (继承自 Control。) |
 | OnDragEnter | 引发 DragEnter 事件。 (继承自 Control。) |
 | OnDragLeave | 引发 DragLeave 事件。 (继承自 Control。) |
 | OnDragOver | 引发 DragOver 事件。 (继承自 Control。) |
 | OnEditingControlShowing | 引发 EditingControlShowing 事件。 |
 | OnEditModeChanged | 引发 EditModeChanged 事件。 |
 | OnEnabledChanged | 引发 EnabledChanged 事件。 (重写 Control.OnEnabledChanged(EventArgs)。) |
 | OnEnter | 引发 Enter 事件。 (重写 Control.OnEnter(EventArgs)。) |
 | OnFontChanged | 引发 FontChanged 事件。 (重写 Control.OnFontChanged(EventArgs)。) |
 | OnForeColorChanged | 引发 ForeColorChanged 事件。 (重写 Control.OnForeColorChanged(EventArgs)。) |
 | OnGiveFeedback | 引发 GiveFeedback 事件。 (继承自 Control。) |
 | OnGotFocus | 引发 GotFocus 事件。 (重写 Control.OnGotFocus(EventArgs)。) |
 | OnGridColorChanged | 引发 GridColorChanged 事件。 |
 | OnHandleCreated | 引发 HandleCreated 事件。 (重写 Control.OnHandleCreated(EventArgs)。) |
 | OnHandleDestroyed | 引发 HandleDestroyed 事件。 (重写 Control.OnHandleDestroyed(EventArgs)。) |
 | OnHelpRequested | 引发 HelpRequested 事件。 (继承自 Control。) |
 | OnImeModeChanged | 引发 ImeModeChanged 事件。 (继承自 Control。) |
 | OnInvalidated | 引发 Invalidated 事件。 (继承自 Control。) |
 | OnKeyDown | 引发 KeyDown 事件。 (重写 Control.OnKeyDown(KeyEventArgs)。) |
 | OnKeyPress | 引发 KeyPress 事件。 (重写 Control.OnKeyPress(KeyPressEventArgs)。) |
 | OnKeyUp | 引发 KeyUp 事件。 (重写 Control.OnKeyUp(KeyEventArgs)。) |
 | OnLayout | 引发 Layout 事件。 (重写 Control.OnLayout(LayoutEventArgs)。) |
 | OnLeave | 引发 Leave 事件。 (重写 Control.OnLeave(EventArgs)。) |
 | OnLocationChanged | 引发 LocationChanged 事件。 (继承自 Control。) |
 | OnLostFocus | 引发 LostFocus 事件。 (重写 Control.OnLostFocus(EventArgs)。) |
 | OnMarginChanged | 引发 MarginChanged 事件。 (继承自 Control。) |
 | OnMouseCaptureChanged | 引发 MouseCaptureChanged 事件。 (继承自 Control。) |
 | OnMouseClick | 引发 MouseClick 事件。 (重写 Control.OnMouseClick(MouseEventArgs)。) |
 | OnMouseDoubleClick | 引发 MouseDoubleClick 事件。 (重写 Control.OnMouseDoubleClick(MouseEventArgs)。) |
 | OnMouseDown | 引发 MouseDown 事件。 (重写 Control.OnMouseDown(MouseEventArgs)。) |
 | OnMouseEnter | 引发 MouseEnter 事件。 (重写 Control.OnMouseEnter(EventArgs)。) |
 | OnMouseHover | 引发 MouseHover 事件。 (继承自 Control。) |
 | OnMouseLeave | 引发 MouseLeave 事件。 (重写 Control.OnMouseLeave(EventArgs)。) |
 | OnMouseMove | 引发 MouseMove 事件。 (重写 Control.OnMouseMove(MouseEventArgs)。) |
 | OnMouseUp | 引发 MouseUp 事件。 (重写 Control.OnMouseUp(MouseEventArgs)。) |
 | OnMouseWheel | 引发 MouseWheel 事件。 (重写 Control.OnMouseWheel(MouseEventArgs)。) |
 | OnMove | 引发 Move 事件。 (继承自 Control。) |
 | OnMultiSelectChanged | 引发 MultiSelectChanged 事件。 |
 | OnNewRowNeeded | 引发 NewRowNeeded 事件。 |
 | OnNotifyMessage | 向控件通知 Windows 消息。 (继承自 Control。) |
 | OnPaddingChanged | 引发 PaddingChanged 事件。 (继承自 Control。) |
 | OnPaint | 引发 Paint 事件。 (重写 Control.OnPaint(PaintEventArgs)。) |
 | OnPaintBackground | 绘制控件的背景。 (继承自 Control。) |
 | OnParentBackColorChanged | 当控件容器的 BackColor 属性值更改时,将引发 BackColorChanged 事件。 (继承自 Control。) |
 | OnParentBackgroundImageChanged | 当控件容器的 BackgroundImage 属性值更改时,将引发 BackgroundImageChanged 事件。 (继承自 Control。) |
 | OnParentBindingContextChanged | 当控件容器的 BindingContext 属性值更改时,将引发 BindingContextChanged 事件。 (继承自 Control。) |
 | OnParentChanged | 引发 ParentChanged 事件。 (继承自 Control。) |
 | OnParentCursorChanged | 引发 CursorChanged 事件。 (继承自 Control。) |
 | OnParentEnabledChanged | 当控件容器的 Enabled 属性值更改时,将引发 EnabledChanged 事件。 (继承自 Control。) |
 | OnParentFontChanged | 当控件容器的 Font 属性值更改时,将引发 FontChanged 事件。 (继承自 Control。) |
 | OnParentForeColorChanged | 当控件容器的 ForeColor 属性值更改时,将引发 ForeColorChanged 事件。 (继承自 Control。) |
 | OnParentRightToLeftChanged | 当控件容器的 RightToLeft 属性值更改时,将引发 RightToLeftChanged 事件。 (继承自 Control。) |
 | OnParentVisibleChanged | 当控件容器的 Visible 属性值更改时,将引发 VisibleChanged 事件。 (继承自 Control。) |
 | OnPreviewKeyDown | 引发 PreviewKeyDown 事件。 (继承自 Control。) |
 | OnPrint | 引发 Paint 事件。 (继承自 Control。) |
 | OnQueryContinueDrag | 引发 QueryContinueDrag 事件。 (继承自 Control。) |
 | OnReadOnlyChanged | 引发 ReadOnlyChanged 事件。 |
 | OnRegionChanged | 引发 RegionChanged 事件。 (继承自 Control。) |
 | OnResize | 引发 Resize 事件。 (重写 Control.OnResize(EventArgs)。) |
 | OnRightToLeftChanged | 引发 RightToLeftChanged 事件。 (重写 Control.OnRightToLeftChanged(EventArgs)。) |
 | OnRowContextMenuStripChanged | 引发 RowContextMenuStripChanged 事件。 |
 | OnRowContextMenuStripNeeded | 引发 RowContextMenuStripNeeded 事件。 |
 | OnRowDefaultCellStyleChanged | 引发 RowDefaultCellStyleChanged 事件。 |
 | OnRowDirtyStateNeeded | 引发 RowDirtyStateNeeded 事件。 |
 | OnRowDividerDoubleClick | 引发 RowDividerDoubleClick 事件。 |
 | OnRowDividerHeightChanged | 引发 RowDividerHeightChanged 事件。 |
 | OnRowEnter | 引发 RowEnter 事件。 |
 | OnRowErrorTextChanged | 引发 RowErrorTextChanged 事件。 |
 | OnRowErrorTextNeeded | 引发 RowErrorTextNeeded 事件。 |
 | OnRowHeaderCellChanged | 引发 RowHeaderCellChanged 事件。 |
 | OnRowHeaderMouseClick | 引发 RowHeaderMouseClick 事件。 |
 | OnRowHeaderMouseDoubleClick | 引发 RowHeaderMouseDoubleClick 事件。 |
 | OnRowHeadersBorderStyleChanged | 引发 RowHeadersBorderStyleChanged 事件。 |
 | OnRowHeadersDefaultCellStyleChanged | 引发 RowHeadersDefaultCellStyleChanged 事件。 |
 | OnRowHeadersWidthChanged | 引发 RowHeadersWidthChanged 事件。 |
 | OnRowHeadersWidthSizeModeChanged | 引发 RowHeadersWidthSizeModeChanged 事件。 |
 | OnRowHeightChanged | 引发 RowHeightChanged 事件。 |
 | OnRowHeightInfoNeeded | 引发 RowHeightInfoNeeded 事件。 |
 | OnRowHeightInfoPushed | 引发 RowHeightInfoPushed 事件。 |
 | OnRowLeave | 引发 RowLeave 事件。 |
 | OnRowMinimumHeightChanged | 引发 RowMinimumHeightChanged 事件。 |
 | OnRowPostPaint | 引发 RowPostPaint 事件。 |
 | OnRowPrePaint | 引发 RowPrePaint 事件。 |
 | OnRowsAdded | 引发 RowsAdded 事件。 |
 | OnRowsDefaultCellStyleChanged | 引发 RowsDefaultCellStyleChanged 事件。 |
 | OnRowsRemoved | 引发 RowsRemoved 事件。 |
 | OnRowStateChanged | 引发 RowStateChanged 事件。 |
 | OnRowUnshared | 引发 RowUnshared 事件。 |
 | OnRowValidated | 引发 RowValidated 事件。 |
 | OnRowValidating | 引发 RowValidating 事件。 |
 | OnScroll | 引发 Scroll 事件。 |
 | OnSelectionChanged | 引发 SelectionChanged 事件。 |
 | OnSizeChanged | 引发 SizeChanged 事件。 (继承自 Control。) |
 | OnSortCompare | 引发 SortCompare 事件。 |
 | OnSorted | 引发 Sorted 事件。 |
 | OnStyleChanged | 引发 StyleChanged 事件。 (继承自 Control。) |
 | OnSystemColorsChanged | 引发 SystemColorsChanged 事件。 (继承自 Control。) |
 | OnTabIndexChanged | 引发 TabIndexChanged 事件。 (继承自 Control。) |
 | OnTabStopChanged | 引发 TabStopChanged 事件。 (继承自 Control。) |
 | OnTextChanged | 引发 TextChanged 事件。 (继承自 Control。) |
 | OnUserAddedRow | 引发 UserAddedRow 事件。 |
 | OnUserDeletedRow | 引发 UserDeletedRow 事件。 |
 | OnUserDeletingRow | 引发 UserDeletingRow 事件。 |
 | OnValidated | 引发 Validated 事件。 (继承自 Control。) |
 | OnValidating | 引发 Validating 事件。 (重写 Control.OnValidating(CancelEventArgs)。) |
 | OnVisibleChanged | 引发 VisibleChanged 事件。 (重写 Control.OnVisibleChanged(EventArgs)。) |
 | PaintBackground | 绘制 DataGridView的背景。 |
 | PerformLayout() | 强制控件将布局逻辑应用于其所有子控件。 (继承自 Control。) |
 | PerformLayout(Control, String) | 强制控件将布局逻辑应用于其所有子控件。 (继承自 Control。) |
 | PointToClient | 将指定屏幕点的位置计算成工作区坐标。 (继承自 Control。) |
 | PointToScreen | 将指定工作区点的位置计算成屏幕坐标。 (继承自 Control。) |
 | PreProcessControlMessage | 在调度键盘或输入消息之前,在消息循环内对它们进行预处理。 (继承自 Control。) |
 | PreProcessMessage | 在调度键盘或输入消息之前,在消息循环内对它们进行预处理。 (继承自 Control。) |
 | ProcessAKey | 处理、键。 |
 | ProcessCmdKey | 处理命令键。 (继承自 Control。) |
 | ProcessDataGridViewKey | 处理为导航使用的键。 DataGridView。 |
 | ProcessDeleteKey | 处理 delete 键。 |
 | ProcessDialogChar | 处理对话框字符。 (继承自 Control。) |
 | ProcessDialogKey | 处理键,例如选项,转义,输入和箭头键,用于控制对话框。 (重写 Control.ProcessDialogKey(Keys)。) |
 | ProcessDownKey | 处理向下键。 |
 | ProcessEndKey | 进程结束键。 |
 | ProcessEnterKey | 处理 enter 键。 |
 | ProcessEscapeKey | 处理 ESC 键。 |
 | ProcessF2Key | 处理 F2 键。 |
 | ProcessHomeKey | 处理该主页键。 |
 | ProcessInsertKey | 处理 insert 键。 |
 | ProcessKeyEventArgs | 处理键消息并生成相应的控件事件。 (重写 Control.ProcessKeyEventArgs(Message)。) |
 | ProcessKeyMessage | 处理键盘消息。 (继承自 Control。) |
 | ProcessKeyPreview | 预览一键盘消息。 (重写 Control.ProcessKeyPreview(Message)。) |
 | ProcessLeftKey | 处理向左键。 |
 | ProcessMnemonic | 处理助记键字符。 (继承自 Control。) |
 | ProcessNextKey | 处理页向下键。 |
 | ProcessPriorKey | 处理键的页。 |
 | ProcessRightKey | 处理右箭头键。 |
 | ProcessSpaceKey | 处理空格键。 |
 | ProcessTabKey | 处理 tab 键。 |
 | ProcessUpKey | 处理箭头键。 |
 | ProcessZeroKey | 处理 0 键。 |
 | RaiseDragEvent | 基础结构。引发适当的拖动事件。 (继承自 Control。) |
 | RaiseKeyEvent | 基础结构。引发适当的键事件。 (继承自 Control。) |
 | RaiseMouseEvent | 基础结构。引发适当的鼠标事件。 (继承自 Control。) |
 | RaisePaintEvent | 基础结构。引发适当的绘画事件。 (继承自 Control。) |
 | RecreateHandle | 强制为控件重新创建句柄。 (继承自 Control。) |
 | RectangleToClient | 计算指定屏幕矩形的大小和位置(以工作区坐标表示)。 (继承自 Control。) |
 | RectangleToScreen | 计算指定工作区矩形的大小和位置(以屏幕坐标表示)。 (继承自 Control。) |
 | Refresh | 强制控件使其工作区无效并立即重绘自己和任何子控件。 (继承自 Control。) |
 | RefreshEdit | ,当单元格处于编辑模式,放弃所有先前值时,将刷新当前单元格的值与基础单元格的值。 |
 | ResetBackColor | 将 BackColor 属性重置为其默认值。 (继承自 Control。) |
 | ResetBindings | 使绑定到 BindingSource 的控件重新读取列表中的所有项,并刷新这些项的显示值。 (继承自 Control。) |
 | ResetCursor | 将 Cursor 属性重置为其默认值。 (继承自 Control。) |
 | ResetFont | 将 Font 属性重置为其默认值。 (继承自 Control。) |
 | ResetForeColor | 将 ForeColor 属性重置为其默认值。 (继承自 Control。) |
 | ResetImeMode | 将 ImeMode 属性重置为其默认值。 (继承自 Control。) |
 | ResetMouseEventArgs | 基础结构。重置控件以处理 MouseLeave 事件。 (继承自 Control。) |
 | ResetRightToLeft | 将 RightToLeft 属性重置为其默认值。 (继承自 Control。) |
 | ResetText | 基础结构。重置 Text 属性设置为其默认值。 (重写 Control.ResetText()。) |
 | ResumeLayout() | 恢复正常的布局逻辑。 (继承自 Control。) |
 | ResumeLayout(Boolean) | 恢复正常的布局逻辑,可以选择强制对挂起的布局请求立即进行布局。 (继承自 Control。) |
 | RtlTranslateAlignment(ContentAlignment) | 将指定的 ContentAlignment 转换为相应的 ContentAlignment 以支持从右向左的文本。 (继承自 Control。) |
 | RtlTranslateAlignment(HorizontalAlignment) | 将指定的 HorizontalAlignment 转换为相应的 HorizontalAlignment 以支持从右向左的文本。 (继承自 Control。) |
 | RtlTranslateAlignment(LeftRightAlignment) | 将指定的 LeftRightAlignment 转换为相应的 LeftRightAlignment 以支持从右向左的文本。 (继承自 Control。) |
 | RtlTranslateContent | 将指定的 ContentAlignment 转换为相应的 ContentAlignment 以支持从右向左的文本。 (继承自 Control。) |
 | RtlTranslateHorizontal | 将指定的 HorizontalAlignment 转换为相应的 HorizontalAlignment 以支持从右向左的文本。 (继承自 Control。) |
 | RtlTranslateLeftRight | 将指定的 LeftRightAlignment 转换为相应的 LeftRightAlignment 以支持从右向左的文本。 (继承自 Control。) |
 | Scale(Single) | 已过时。缩放控件和任何子控件。 (继承自 Control。) |
 | Scale(SizeF) | 按指定的比例因子缩放控件和所有子控件。 (继承自 Control。) |
 | Scale(Single, Single) | 已过时。缩放整个控件和任何子控件。 (继承自 Control。) |
 | ScaleControl | 缩放控件的位置、大小、空白和边距。 (继承自 Control。) |
 | ScaleCore | 基础结构。此方法与此类无关。 (继承自 Control。) |
 | Select() | 激活控件。 (继承自 Control。) |
 | Select(Boolean, Boolean) | 激活子控件。 还可以指定从中选择控件的 Tab 键顺序的方向。 (继承自 Control。) |
 | SelectAll | 选择在 DataGridView的所有单元格。 |
 | SelectNextControl | 激活下一个控件。 (继承自 Control。) |
 | SendToBack | 将控件发送到 Z 顺序的后面。 (继承自 Control。) |
 | SetAutoSizeMode | 设置一个值,该值指示当启用控件的 AutoSize 属性时控件的行为方式。 (继承自 Control。) |
 | SetBounds(Int32, Int32, Int32, Int32) | 将控件的边界设置为指定位置和大小。 (继承自 Control。) |
 | SetBounds(Int32, Int32, Int32, Int32, BoundsSpecified) | 将控件的指定边界设置为指定位置和大小。 (继承自 Control。) |
 | SetBoundsCore | 此成员重写 Control.SetBoundsCore。 (重写 Control.SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified)。) |
 | SetClientSizeCore | 设置控件的工作区的大小。 (继承自 Control。) |
 | SetCurrentCellAddressCore | 设置当前活动的单元格。 |
 | SetSelectedCellCore | 更改单元格的选择状态与指定的行和列索引的。 |
 | SetSelectedColumnCore | 更改列的选择状态与指定的索引。 |
 | SetSelectedRowCore | 更改直线的选择状态与指定的索引。 |
 | SetStyle | 将指定的 ControlStyles 标志设置为 true 或 false。 (继承自 Control。) |
 | SetTopLevel | 将控件设置为顶级控件。 (继承自 Control。) |
 | SetVisibleCore | 将控件设置为指定的可见状态。 (继承自 Control。) |
 | Show | 向用户显示控件。 (继承自 Control。) |
 | SizeFromClientSize | 确定整个控件(从控件工作区的高度和宽度起计算)的大小。 (继承自 Control。) |
 | Sort(IComparer) | 使用 IComparer 接口的实现,排序 DataGridView 控件的内容。 |
 | Sort(DataGridViewColumn, ListSortDirection) | 排序 DataGridView 控件的内容在基于指定列的内容按升序或降序。 |
 | SuspendLayout | 临时挂起控件的布局逻辑。 (继承自 Control。) |
 | ToString | 返回包含 Component 的名称的 String(如果有)。 不应重写此方法。 (继承自 Component。) |
 | Update | 使控件重绘其工作区内的无效区域。 (继承自 Control。) |
 | UpdateBounds() | 用当前大小和位置更新控件的边界。 (继承自 Control。) |
 | UpdateBounds(Int32, Int32, Int32, Int32) | 用指定大小和位置更新控件的边界。 (继承自 Control。) |
 | UpdateBounds(Int32, Int32, Int32, Int32, Int32, Int32) | 用指定大小、位置和工作区的大小更新控件的边界。 (继承自 Control。) |
 | UpdateCellErrorText | 在指定的位置强制单元格更新其错误文本。 |
 | UpdateCellValue | 强制该控件在基于其新值的指定位置更新其单元格的显示,当前应用任何自动调整大小模式有效。 |
 | UpdateRowErrorText(Int32) | 强制行在特定行索引更新其错误文本。 |
 | UpdateRowErrorText(Int32, Int32) | 强制在给定范围内行更新其错误文本。 |
 | UpdateRowHeightInfo | 强制指定的行更新其高度信息。 |
 | UpdateStyles | 强制将分配的样式重新应用到控件。 (继承自 Control。) |
 | UpdateZOrder | 按控件的父级的 Z 顺序更新控件。 (继承自 Control。) |
 | WndProc | 处理 windows 消息。 (重写 Control.WndProc(Message)。) |