Persistate API documentation
PGrid Class
NamespacesPersistate.UI.DesktopPGrid

[This is preliminary documentation and is subject to change.]

This is a DataGridView with the added functionality of IPControl and IStyled, and the ability to host IPGridColumn columns.
Declaration Syntax
C#
public class PGrid : DataGridView, IPControl, 
	IStyled
Members
All MembersConstructorsMethodsPropertiesEvents



IconMemberDescription
PGrid()()()()
Creates a new empty PGrid.

AccessibilityNotifyClients(AccessibleEvents, Int32)
Notifies the accessibility client applications of the specified AccessibleEvents for the specified child control.
(Inherited from Control.)
AccessibilityNotifyClients(AccessibleEvents, Int32, Int32)
Notifies the accessibility client applications of the specified AccessibleEvents for the specified child control .
(Inherited from Control.)
AccessibilityNotifyCurrentCellChanged(Point)
Notifies the accessible client applications when a new cell becomes the current cell.
(Inherited from DataGridView.)
AccessibilityObject
Gets the AccessibleObject assigned to the control.
(Inherited from Control.)
AccessibleDefaultActionDescription
Gets or sets the default action description of the control for use by accessibility client applications.
(Inherited from Control.)
AccessibleDescription
Gets or sets the description of the control used by accessibility client applications.
(Inherited from Control.)
AccessibleName
Gets or sets the name of the control used by accessibility client applications.
(Inherited from Control.)
AccessibleRole
Gets or sets the accessible role of the control
(Inherited from Control.)
ActiveObject
Gets the object bound to the currently selected row in the grid.

AdjustColumnHeaderBorderStyle(DataGridViewAdvancedBorderStyle, DataGridViewAdvancedBorderStyle, Boolean, Boolean)
Adjusts the DataGridViewAdvancedBorderStyle for a column header cell of a DataGridView that is currently being painted.
(Inherited from DataGridView.)
AdjustedTopLeftHeaderBorderStyle
Gets the border style for the upper-left cell in the DataGridView.
(Inherited from DataGridView.)
AdvancedCellBorderStyle
Gets the border style of the cells in the DataGridView.
(Inherited from DataGridView.)
AdvancedColumnHeadersBorderStyle
Gets the border style of the column header cells in the DataGridView.
(Inherited from DataGridView.)
AdvancedRowHeadersBorderStyle
Gets the border style of the row header cells in the DataGridView.
(Inherited from DataGridView.)
AllowDrop
Gets or sets a value indicating whether the control can accept data that the user drags onto it.
(Inherited from Control.)
AllowUserToAddRows
Gets or sets a value indicating whether the option to add rows is displayed to the user.
(Inherited from DataGridView.)
AllowUserToAddRowsChanged
Occurs when the value of the AllowUserToAddRows property changes.
(Inherited from DataGridView.)
AllowUserToDeleteRows
Gets or sets a value indicating whether the user is allowed to delete rows from the DataGridView.
(Inherited from DataGridView.)
AllowUserToDeleteRowsChanged
Occurs when the value of the AllowUserToDeleteRowsChanged property changes.
(Inherited from DataGridView.)
AllowUserToOrderColumns
Gets or sets a value indicating whether manual column repositioning is enabled.
(Inherited from DataGridView.)
AllowUserToOrderColumnsChanged
Occurs when the value of the AllowUserToOrderColumns property changes.
(Inherited from DataGridView.)
AllowUserToResizeColumns
Gets or sets a value indicating whether users can resize columns.
(Inherited from DataGridView.)
AllowUserToResizeColumnsChanged
Occurs when the value of the AllowUserToResizeColumns property changes.
(Inherited from DataGridView.)
AllowUserToResizeRows
Gets or sets a value indicating whether users can resize rows.
(Inherited from DataGridView.)
AllowUserToResizeRowsChanged
Occurs when the value of the AllowUserToResizeRows property changes.
(Inherited from DataGridView.)
AlternatingRowsDefaultCellStyle
Gets or sets the default cell style applied to odd-numbered rows of the DataGridView.
(Inherited from DataGridView.)
AlternatingRowsDefaultCellStyleChanged
Occurs when the value of the AlternatingRowsDefaultCellStyle property changes.
(Inherited from DataGridView.)
Anchor
Gets 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.)
ApplyLayoutStyle()()()()
Applies the effective LayoutStyle for this control by setting appropriate control properties.

AreAllCellsSelected(Boolean)
Returns a value indicating whether all the DataGridView cells are currently selected.
(Inherited from DataGridView.)
AttachedControlWidth
Gets the width of any controls attached to this one. Always zero.

AutoGenerateColumns
Gets or sets a value indicating whether columns are created automatically when the DataSource or DataMember properties are set.
(Inherited from DataGridView.)
AutoGenerateColumnsChanged
Occurs when the value of the AutoGenerateColumnsChanged property changes.
(Inherited from DataGridView.)
AutoResizeColumn(Int32)
Adjusts the width of the specified column to fit the contents of all its cells, including the header cell.
(Inherited from DataGridView.)
AutoResizeColumn(Int32, DataGridViewAutoSizeColumnMode)
Adjusts the width of the specified column using the specified size mode.
(Inherited from DataGridView.)
AutoResizeColumn(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.)
AutoResizeColumnHeadersHeight()()()()
Adjusts the height of the column headers to fit the contents of the largest column header.
(Inherited from DataGridView.)
AutoResizeColumnHeadersHeight(Int32)
Adjusts the height of the column headers based on changes to the contents of the header in the specified column.
(Inherited from DataGridView.)
AutoResizeColumnHeadersHeight(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.)
AutoResizeColumnHeadersHeight(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.)
AutoResizeColumns()()()()
Adjusts the width of all columns to fit the contents of all their cells, including the header cells.
(Inherited from DataGridView.)
AutoResizeColumns(DataGridViewAutoSizeColumnsMode)
Adjusts the width of all columns using the specified size mode.
(Inherited from DataGridView.)
AutoResizeColumns(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.)
AutoResizeRow(Int32)
Adjusts the height of the specified row to fit the contents of all its cells including the header cell.
(Inherited from DataGridView.)
AutoResizeRow(Int32, DataGridViewAutoSizeRowMode)
Adjusts the height of the specified row using the specified size mode.
(Inherited from DataGridView.)
AutoResizeRow(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.)
AutoResizeRowHeadersWidth(DataGridViewRowHeadersWidthSizeMode)
Adjusts the width of the row headers using the specified size mode.
(Inherited from DataGridView.)
AutoResizeRowHeadersWidth(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.)
AutoResizeRowHeadersWidth(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.)
AutoResizeRowHeadersWidth(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.)
AutoResizeRows()()()()
Adjusts the heights of all rows to fit the contents of all their cells, including the header cells.
(Inherited from DataGridView.)
AutoResizeRows(DataGridViewAutoSizeRowsMode)
Adjusts the heights of the rows using the specified size mode value.
(Inherited from DataGridView.)
AutoResizeRows(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.)
AutoResizeRows(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.)
AutoScrollOffset
Gets or sets where this control is scrolled to in ScrollControlIntoView(Control).
(Inherited from Control.)
AutoSize (Inherited from DataGridView.)
AutoSizeChanged
This event is not relevant for this class.
(Inherited from Control.)
AutoSizeColumnModeChanged
Occurs when the value of the AutoSizeMode property of a column changes.
(Inherited from DataGridView.)
AutoSizeColumnsMode
Gets or sets a value indicating how column widths are determined.
(Inherited from DataGridView.)
AutoSizeColumnsModeChanged
Occurs when the value of the AutoSizeColumnsMode property changes.
(Inherited from DataGridView.)
AutoSizeRowsMode
Gets or sets a value indicating how row heights are determined.
(Inherited from DataGridView.)
AutoSizeRowsModeChanged
Occurs when the value of the DataGridViewAutoSizeRowsMode property changes.
(Inherited from DataGridView.)
BackColor
Gets or sets the background color for the control.
(Inherited from DataGridView.)
BackColorChanged
Occurs when the value of the BackColor property changes.
(Inherited from DataGridView.)
BackgroundColor
Gets or sets the background color of the DataGridView.
(Inherited from DataGridView.)
BackgroundColorChanged
Occurs when the value of the BackgroundColor property changes.
(Inherited from DataGridView.)
BackgroundImage
Gets or sets the background image displayed in the control.
(Inherited from DataGridView.)
BackgroundImageChanged
Occurs when the value of the BackgroundImage property changes.
(Inherited from DataGridView.)
BackgroundImageLayout
Gets or sets the background image layout as defined in the ImageLayout enumeration.
(Inherited from DataGridView.)
BackgroundImageLayoutChanged
Occurs when the BackgroundImageLayout property changes.
(Inherited from DataGridView.)
BeginEdit(Boolean)
Puts the current cell in edit mode.
(Inherited from DataGridView.)
BeginInvoke(Delegate)
Executes the specified delegate asynchronously on the thread that the control's underlying handle was created on.
(Inherited from Control.)
BeginInvoke(Delegate, array<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.)
BindingContext
Gets or sets the BindingContext for the control.
(Inherited from Control.)
BindingContextChanged
Occurs when the value of the BindingContext property changes.
(Inherited from Control.)
BorderStyle
Gets or sets the border style for the DataGridView.
(Inherited from DataGridView.)
BorderStyleChanged
Occurs when the value of the BorderStyle property changes.
(Inherited from DataGridView.)
Bottom
Gets the distance, in pixels, between the bottom edge of the control and the top edge of its container's client area.
(Inherited from Control.)
BoundCollection
Gets the collection that is showing in the grid.

Bounds
Gets or sets the size and location of the control including its nonclient elements, in pixels, relative to the parent control.
(Inherited from Control.)
BringToFront()()()()
Brings the control to the front of the z-order.
(Inherited from Control.)
CancelEdit()()()()
Cancels edit mode for the currently selected cell and discards any changes.
(Inherited from DataGridView.)
CancelRowEdit
Occurs when the VirtualMode property of a DataGridView control is true and the cancels edits in a row.
(Inherited from DataGridView.)
CanEnableIme
Gets a value indicating whether the ImeMode property can be set to an active value, to enable IME support.
(Inherited from DataGridView.)
CanFocus
Gets a value indicating whether the control can receive focus.
(Inherited from Control.)
CanRaiseEvents
Determines if events can be raised on the control.
(Inherited from Control.)
CanSelect
Gets a value indicating whether the control can be selected.
(Inherited from Control.)
Capture
Gets or sets a value indicating whether the control has captured the mouse.
(Inherited from Control.)
CausesValidation
Gets 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.)
CausesValidationChanged
Occurs when the value of the CausesValidation property changes.
(Inherited from Control.)
CellBeginEdit
Occurs when edit mode starts for the selected cell.
(Inherited from DataGridView.)
CellBorderStyle
Gets the cell border style for the DataGridView.
(Inherited from DataGridView.)
CellBorderStyleChanged
Occurs when the border style of a cell changes.
(Inherited from DataGridView.)
CellClick
Occurs when any part of a cell is clicked.
(Inherited from DataGridView.)
CellContentClick
Occurs when the content within a cell is clicked.
(Inherited from DataGridView.)
CellContentDoubleClick
Occurs when the user double-clicks a cell's contents.
(Inherited from DataGridView.)
CellContextMenuStripChanged
Occurs when the ContextMenuStrip property changes.
(Inherited from DataGridView.)
CellContextMenuStripNeeded
Occurs when a cell's shortcut menu is needed.
(Inherited from DataGridView.)
CellDoubleClick
Occurs when the user double-clicks anywhere in a cell.
(Inherited from DataGridView.)
CellEndEdit
Occurs when edit mode stops for the currently selected cell.
(Inherited from DataGridView.)
CellEnter
Occurs when the current cell changes in the DataGridView control or when the control receives input focus.
(Inherited from DataGridView.)
CellErrorTextChanged
Occurs when the value of the ErrorText property of a cell changes.
(Inherited from DataGridView.)
CellErrorTextNeeded
Occurs when a cell's error text is needed.
(Inherited from DataGridView.)
CellFormatting
Occurs when the contents of a cell need to be formatted for display.
(Inherited from DataGridView.)
CellLeave
Occurs when a cell loses input focus and is no longer the current cell.
(Inherited from DataGridView.)
CellMouseClick
Occurs whenever the user clicks anywhere on a cell with the mouse.
(Inherited from DataGridView.)
CellMouseDoubleClick
Occurs when a cell within the DataGridView is double-clicked.
(Inherited from DataGridView.)
CellMouseDown
Occurs when the user presses a mouse button while the mouse pointer is within the boundaries of a cell.
(Inherited from DataGridView.)
CellMouseEnter
Occurs when the mouse pointer enters a cell.
(Inherited from DataGridView.)
CellMouseLeave
Occurs when the mouse pointer leaves a cell.
(Inherited from DataGridView.)
CellMouseMove
Occurs when the mouse pointer moves over the DataGridView control.
(Inherited from DataGridView.)
CellMouseUp
Occurs when the user releases a mouse button while over a cell.
(Inherited from DataGridView.)
CellPainting
Occurs when a cell needs to be drawn.
(Inherited from DataGridView.)
CellParsing
Occurs when a cell leaves edit mode if the cell value has been modified.
(Inherited from DataGridView.)
CellStateChanged
Occurs when a cell state changes, such as when the cell loses or gains focus.
(Inherited from DataGridView.)
CellStyleChanged
Occurs when the Style property of a DataGridViewCell changes.
(Inherited from DataGridView.)
CellStyleContentChanged
Occurs when one of the values of a cell style changes.
(Inherited from DataGridView.)
CellToolTipTextChanged
Occurs when the ToolTipText property value changes for a cell in the DataGridView.
(Inherited from DataGridView.)
CellToolTipTextNeeded
Occurs when a cell's ToolTip text is needed.
(Inherited from DataGridView.)
CellValidated
Occurs after the cell has finished validating.
(Inherited from DataGridView.)
CellValidating
Occurs when a cell loses input focus, enabling content validation.
(Inherited from DataGridView.)
CellValueChanged
Occurs when the value of a cell changes.
(Inherited from DataGridView.)
CellValueNeeded
Occurs 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.)
CellValuePushed
Occurs 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.)
ChangeUICues
Occurs when the focus or keyboard user interface (UI) cues change.
(Inherited from Control.)
ClearSelection()()()()
Clears the current selection by unselecting all selected cells.
(Inherited from DataGridView.)
ClearSelection(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.)
Click
Occurs when the control is clicked.
(Inherited from Control.)
ClientRectangle
Gets the rectangle that represents the client area of the control.
(Inherited from Control.)
ClientSize
Gets or sets the height and width of the client area of the control.
(Inherited from Control.)
ClientSizeChanged
Occurs when the value of the ClientSize property changes.
(Inherited from Control.)
ClipboardCopyMode
Gets 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.)
ColumnAdded
Occurs when a column is added to the control.
(Inherited from DataGridView.)
ColumnContextMenuStripChanged
Occurs when the ContextMenuStrip property of a column changes.
(Inherited from DataGridView.)
ColumnCount
Gets or sets the number of columns displayed in the DataGridView.
(Inherited from DataGridView.)
ColumnDataPropertyNameChanged
Occurs when the value of the DataPropertyName property for a column changes.
(Inherited from DataGridView.)
ColumnDefaultCellStyleChanged
Occurs when the value of the DefaultCellStyle property for a column changes.
(Inherited from DataGridView.)
ColumnDisplayIndexChanged
Occurs when the value the DisplayIndex property for a column changes.
(Inherited from DataGridView.)
ColumnDividerDoubleClick
Occurs when the user double-clicks a divider between two columns.
(Inherited from DataGridView.)
ColumnDividerWidthChanged
Occurs when the DividerWidth property changes.
(Inherited from DataGridView.)
ColumnHeaderCellChanged
Occurs when the contents of a column header cell change.
(Inherited from DataGridView.)
ColumnHeaderMouseClick
Occurs when the user clicks a column header.
(Inherited from DataGridView.)
ColumnHeaderMouseDoubleClick
Occurs when a column header is double-clicked.
(Inherited from DataGridView.)
ColumnHeadersBorderStyle
Gets the border style applied to the column headers.
(Inherited from DataGridView.)
ColumnHeadersBorderStyleChanged
Occurs when the ColumnHeadersBorderStyle property changes.
(Inherited from DataGridView.)
ColumnHeadersDefaultCellStyle
Gets or sets the default column header style.
(Inherited from DataGridView.)
ColumnHeadersDefaultCellStyleChanged
Occurs when the value of the ColumnHeadersDefaultCellStyle property changes.
(Inherited from DataGridView.)
ColumnHeadersHeight
Gets or sets the height, in pixels, of the column headers row
(Inherited from DataGridView.)
ColumnHeadersHeightChanged
Occurs when the value of the ColumnHeadersHeight property changes.
(Inherited from DataGridView.)
ColumnHeadersHeightSizeMode
Gets 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.)
ColumnHeadersHeightSizeModeChanged
Occurs when the value of the ColumnHeadersHeightSizeMode property changes.
(Inherited from DataGridView.)
ColumnHeadersVisible
Gets or sets a value indicating whether the column header row is displayed.
(Inherited from DataGridView.)
ColumnMinimumWidthChanged
Occurs when the value of the MinimumWidth property for a column changes.
(Inherited from DataGridView.)
ColumnNameChanged
Occurs when the value of the Name property for a column changes.
(Inherited from DataGridView.)
ColumnRemoved
Occurs when a column is removed from the control.
(Inherited from DataGridView.)
Columns
Gets a collection that contains all the columns in the control.
(Inherited from DataGridView.)
ColumnSortModeChanged
Occurs when the value of the SortMode property for a column changes.
(Inherited from DataGridView.)
ColumnStateChanged
Occurs when a column changes state, such as gaining or losing focus.
(Inherited from DataGridView.)
ColumnToolTipTextChanged
Occurs when the ToolTipText property value changes for a column in the DataGridView.
(Inherited from DataGridView.)
ColumnWidthChanged
Occurs when the value of the Width property for a column changes.
(Inherited from DataGridView.)
CommitEdit(DataGridViewDataErrorContexts)
Commits changes in the current cell to the data cache without ending edit mode.
(Inherited from DataGridView.)
CompanyName
Gets the name of the company or creator of the application containing the control.
(Inherited from Control.)
Container
Gets the IContainer that contains the Component.
(Inherited from Component.)
Contains(Control)
Retrieves a value indicating whether the specified control is a child of the control.
(Inherited from Control.)
ContainsFocus
Gets a value indicating whether the control, or one of its child controls, currently has the input focus.
(Inherited from Control.)
ContextMenu
Gets or sets the shortcut menu associated with the control.
(Inherited from Control.)
ContextMenuChanged
Occurs when the value of the ContextMenu property changes.
(Inherited from Control.)
ContextMenuStrip
Gets or sets the ContextMenuStrip associated with this control.
(Inherited from Control.)
ContextMenuStripChanged
Occurs when the value of the ContextMenuStrip property changes.
(Inherited from Control.)
ControlAdded
Occurs when a new control is added to the Control..::..ControlCollection.
(Inherited from Control.)
ControlRemoved
Occurs when a control is removed from the Control..::..ControlCollection.
(Inherited from Control.)
Controls
Gets the collection of controls contained within the control.
(Inherited from Control.)
CreateAccessibilityInstance()()()()
Creates a new accessible object for the DataGridView.
(Inherited from DataGridView.)
CreateColumnsInstance()()()()
Creates and returns a new DataGridViewColumnCollection.
(Inherited from DataGridView.)
CreateControl()()()()
Forces the creation of the control, including the creation of the handle and any child controls.
(Inherited from Control.)
CreateControlsInstance()()()()
Creates and returns a new Control..::..ControlCollection that can be cast to type DataGridView..::..DataGridViewControlCollection.
(Inherited from DataGridView.)
Created
Gets a value indicating whether the control has been created.
(Inherited from Control.)
CreateGraphics()()()()
Creates the Graphics for the control.
(Inherited from Control.)
CreateHandle()()()()
Creates a handle for the control.
(Inherited from Control.)
CreateObjRef(Type)
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
CreateParams
Gets the required creation parameters when the control handle is created.
(Inherited from Control.)
CreateRowsInstance()()()()
Creates and returns a new DataGridViewRowCollection.
(Inherited from DataGridView.)
CurrentCell
Gets or sets the currently active cell.
(Inherited from DataGridView.)
CurrentCellAddress
Gets the row and column indexes of the currently active cell.
(Inherited from DataGridView.)
CurrentCellChanged
Occurs when the CurrentCell property changes.
(Inherited from DataGridView.)
CurrentCellDirtyStateChanged
Occurs when the state of a cell changes in relation to a change in its contents.
(Inherited from DataGridView.)
CurrentRow
Gets the row containing the current cell.
(Inherited from DataGridView.)
Cursor
Gets or sets the cursor that is displayed when the mouse pointer is over the control.
(Inherited from Control.)
CursorChanged
Occurs when the value of the Cursor property changes.
(Inherited from Control.)
DataBindingComplete
Occurs after a data-binding operation has finished.
(Inherited from DataGridView.)
DataBindings
Gets the data bindings for the control.
(Inherited from Control.)
DataError
Occurs 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.)
DataMember
Gets or sets the name of the list or table in the data source for which the DataGridView is displaying data.
(Inherited from DataGridView.)
DataMemberChanged
Occurs when value of the DataMember property changes.
(Inherited from DataGridView.)
DataPropertyName
Gets or sets the name of the public property bound to this control.

DataSource
Gets or sets the data source that the DataGridView is displaying data for.
(Inherited from DataGridView.)
DataSourceChanged
Occurs when the value of the DataSource property changes.
(Inherited from DataGridView.)
DefaultCellStyle
Gets 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.)
DefaultCellStyleChanged
Occurs when the value of the DefaultCellStyle property changes.
(Inherited from DataGridView.)
DefaultCursor
Gets or sets the default cursor for the control.
(Inherited from Control.)
DefaultImeMode
Gets the default Input Method Editor (IME) mode supported by the control.
(Inherited from Control.)
DefaultMargin
Gets the space, in pixels, that is specified by default between controls.
(Inherited from Control.)
DefaultMaximumSize
Gets the length and height, in pixels, that is specified as the default maximum size of a control.
(Inherited from Control.)
DefaultMinimumSize
Gets the length and height, in pixels, that is specified as the default minimum size of a control.
(Inherited from Control.)
DefaultPadding
Gets the internal spacing, in pixels, of the contents of a control.
(Inherited from Control.)
DefaultSize
Gets the default initial size of the control.
(Inherited from DataGridView.)
DefaultValuesNeeded
Occurs when the user enters the row for new records so that it can be populated with default values.
(Inherited from DataGridView.)
DefWndProc(Message%)
Sends the specified message to the default window procedure.
(Inherited from Control.)
DesignMode
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.)
DestroyHandle()()()()
Destroys the handle associated with the control.
(Inherited from Control.)
DisplayedColumnCount(Boolean)
Returns the number of columns displayed to the user.
(Inherited from DataGridView.)
DisplayedRowCount(Boolean)
Returns the number of rows displayed to the user.
(Inherited from DataGridView.)
DisplayRectangle
Gets the rectangle that represents the display area of the control.
(Inherited from DataGridView.)
Dispose(Boolean)
Clean up any resources being used. Drops data event handlers.
(Overrides DataGridView.Dispose(Boolean).)
Dispose()()()()
Releases all resources used by the Component.
(Inherited from Component.)
Disposed
Occurs when the component is disposed by a call to the Dispose()()()() method.
(Inherited from Component.)
Disposing
Gets a value indicating whether the base Control class is in the process of disposing.
(Inherited from Control.)
Dock
Gets or sets which control borders are docked to its parent control and determines how a control is resized with its parent.
(Inherited from Control.)
DockChanged
Occurs when the value of the Dock property changes.
(Inherited from Control.)
DoDragDrop(Object, DragDropEffects)
Begins a drag-and-drop operation.
(Inherited from Control.)
DoubleBuffered
Gets or sets a value indicating whether this control should redraw its surface using a secondary buffer to reduce or prevent flicker.
(Inherited from Control.)
DoubleClick
Occurs when the control is double-clicked.
(Inherited from Control.)
DragDrop
Occurs when a drag-and-drop operation is completed.
(Inherited from Control.)
DragEnter
Occurs when an object is dragged into the control's bounds.
(Inherited from Control.)
DragLeave
Occurs when an object is dragged out of the control's bounds.
(Inherited from Control.)
DragOver
Occurs when an object is dragged over the control's bounds.
(Inherited from Control.)
DrawToBitmap(Bitmap, Rectangle)
Supports rendering to the specified bitmap.
(Inherited from Control.)
EditingControl
Gets the control hosted by the current cell, if a cell with an editing control is in edit mode.
(Inherited from DataGridView.)
EditingControlShowing
Occurs when a control for editing a cell is showing.
(Inherited from DataGridView.)
EditingPanel
Gets the panel that contains the EditingControl.
(Inherited from DataGridView.)
EditMode
Gets or sets a value indicating how to begin editing a cell.
(Inherited from DataGridView.)
EditModeChanged
Occurs when the value of the EditMode property changes.
(Inherited from DataGridView.)
Enabled
Gets or sets a value indicating whether the control can respond to user interaction.
(Inherited from Control.)
EnabledChanged
Occurs when the Enabled property value has changed.
(Inherited from Control.)
EnableHeadersVisualStyles
Gets 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.)
EndEdit()()()()
Commits and ends the edit operation on the current cell using the default error context.
(Inherited from DataGridView.)
EndEdit(DataGridViewDataErrorContexts)
Commits and ends the edit operation on the current cell using the specified error context.
(Inherited from DataGridView.)
EndInvoke(IAsyncResult)
Retrieves the return value of the asynchronous operation represented by the IAsyncResult passed.
(Inherited from Control.)
Enter
Occurs when the control is entered.
(Inherited from Control.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Events
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
Finalize()()()()
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component.)
FindForm()()()()
Retrieves the form that the control is on.
(Inherited from Control.)
FirstDisplayedCell
Gets or sets the first cell currently displayed in the DataGridView; typically, this cell is in the upper left corner.
(Inherited from DataGridView.)
FirstDisplayedScrollingColumnHiddenWidth
Gets the width of the portion of the column that is currently scrolled out of view..
(Inherited from DataGridView.)
FirstDisplayedScrollingColumnIndex
Gets or sets the index of the column that is the first column displayed on the DataGridView.
(Inherited from DataGridView.)
FirstDisplayedScrollingRowIndex
Gets or sets the index of the row that is the first row displayed on the DataGridView.
(Inherited from DataGridView.)
Focus()()()()
Sets input focus to the control.
(Inherited from Control.)
Focused
Gets a value indicating whether the control has input focus.
(Inherited from Control.)
Font
Gets or sets the font of the text displayed by the DataGridView.
(Inherited from DataGridView.)
FontChanged
Occurs when the Font property value changes.
(Inherited from DataGridView.)
FontHeight
Gets or sets the height of the font of the control.
(Inherited from Control.)
ForeColor
Gets or sets the foreground color of the DataGridView.
(Inherited from DataGridView.)
ForeColorChanged
Occurs when the ForeColor property value changes.
(Inherited from DataGridView.)
GetAccessibilityObjectById(Int32) (Inherited from DataGridView.)
GetAutoSizeMode()()()()
Retrieves a value indicating how a control will behave when its AutoSize property is enabled.
(Inherited from Control.)
GetCellCount(DataGridViewElementStates)
Gets the number of cells that satisfy the provided filter.
(Inherited from DataGridView.)
GetCellDisplayRectangle(Int32, Int32, Boolean)
Returns the rectangle that represents the display area for a cell.
(Inherited from DataGridView.)
GetChildAtPoint(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.)
GetChildAtPoint(Point)
Retrieves the child control that is located at the specified coordinates.
(Inherited from Control.)
GetClipboardContent()()()()
Retrieves the formatted values that represent the contents of the selected cells for copying to the Clipboard.
(Inherited from DataGridView.)
GetColumnDisplayRectangle(Int32, Boolean)
Returns the rectangle that represents the display area for a column, as determined by the column index.
(Inherited from DataGridView.)
GetContainerControl()()()()
Returns the next ContainerControl up the control's chain of parent controls.
(Inherited from Control.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetLifetimeService()()()()
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
GetNextControl(Control, Boolean)
Retrieves the next control forward or back in the tab order of child controls.
(Inherited from Control.)
GetPreferredSize(Size)
Retrieves the size of a rectangular area into which a control can be fitted.
(Inherited from Control.)
GetRowDisplayRectangle(Int32, Boolean)
Returns the rectangle that represents the display area for a row, as determined by the row index.
(Inherited from DataGridView.)
GetRowObject(Int32)
Gets the Persistent object which is displayed in a particular row of the grid.

GetScaledBounds(Rectangle, SizeF, BoundsSpecified)
Retrieves the bounds within which the control is scaled.
(Inherited from Control.)
GetService(Type)
Returns an object that represents a service provided by the Component or by its Container.
(Inherited from Component.)
GetStyle(ControlStyles)
Retrieves the value of the specified control style bit for the control.
(Inherited from Control.)
GetTopLevel()()()()
Determines if the control is a top-level control.
(Inherited from Control.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
GiveFeedback
Occurs during a drag operation.
(Inherited from Control.)
GotFocus
Occurs when the control receives focus.
(Inherited from Control.)
GridColor
Gets or sets the color of the grid lines separating the cells of the DataGridView.
(Inherited from DataGridView.)
GridColorChanged
Occurs when the value of the GridColor property changes.
(Inherited from DataGridView.)
Handle
Gets the window handle that the control is bound to.
(Inherited from Control.)
HandleCreated
Occurs when a handle is created for the control.
(Inherited from Control.)
HandleDestroyed
Occurs when the control's handle is in the process of being destroyed.
(Inherited from Control.)
HasChildren
Gets a value indicating whether the control contains one or more child controls.
(Inherited from Control.)
Height
Gets or sets the height of the control.
(Inherited from Control.)
HelpRequested
Occurs when the user requests help for a control.
(Inherited from Control.)
Hide()()()()
Conceals the control from the user.
(Inherited from Control.)
HitTest(Int32, Int32)
Returns location information, such as row and column indices, given x- and y-coordinates.
(Inherited from DataGridView.)
HorizontalScrollBar
Gets the horizontal scroll bar of the control.
(Inherited from DataGridView.)
HorizontalScrollingOffset
Gets or sets the number of pixels by which the control is scrolled horizontally.
(Inherited from DataGridView.)
ImeMode
Gets or sets the Input Method Editor (IME) mode of the control.
(Inherited from Control.)
ImeModeBase (Inherited from Control.)
ImeModeChanged
Occurs when the ImeMode property has changed.
(Inherited from Control.)
InitializeLifetimeService()()()()
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
InitLayout()()()()
Called after the control has been added to another container.
(Inherited from Control.)
Invalidate(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.)
Invalidate(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.)
Invalidate()()()()
Invalidates the entire surface of the control and causes the control to be redrawn.
(Inherited from Control.)
Invalidate(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.)
Invalidate(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.)
Invalidate(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.)
InvalidateCell(DataGridViewCell)
Invalidates the specified cell of the DataGridView, forcing it to be repainted.
(Inherited from DataGridView.)
InvalidateCell(Int32, Int32)
Invalidates the cell with the specified row and column indexes, forcing it to be repainted.
(Inherited from DataGridView.)
InvalidateColumn(Int32)
Invalidates the specified column of the DataGridView, forcing it to be repainted.
(Inherited from DataGridView.)
Invalidated
Occurs when a control's display requires redrawing.
(Inherited from Control.)
InvalidateRow(Int32)
Invalidates the specified row of the DataGridView, forcing it to be repainted.
(Inherited from DataGridView.)
Invoke(Delegate)
Executes the specified delegate on the thread that owns the control's underlying window handle.
(Inherited from Control.)
Invoke(Delegate, array<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.)
InvokeGotFocus(Control, EventArgs)
Raises the GotFocus event for the specified control.
(Inherited from Control.)
InvokeLostFocus(Control, EventArgs)
Raises the LostFocus event for the specified control.
(Inherited from Control.)
InvokeOnClick(Control, EventArgs)
Raises the Click event for the specified control.
(Inherited from Control.)
InvokePaint(Control, PaintEventArgs)
Raises the Paint event for the specified control.
(Inherited from Control.)
InvokePaintBackground(Control, PaintEventArgs)
Raises the PaintBackground event for the specified control.
(Inherited from Control.)
InvokeRequired
Gets 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.)
IsAccessible
Gets or sets a value indicating whether the control is visible to accessibility applications.
(Inherited from Control.)
IsCurrentCellDirty
Gets a value indicating whether the current cell has uncommitted changes.
(Inherited from DataGridView.)
IsCurrentCellInEditMode
Gets a value indicating whether the currently active cell is being edited.
(Inherited from DataGridView.)
IsCurrentRowDirty
Gets a value indicating whether the current row has uncommitted changes.
(Inherited from DataGridView.)
IsDisposed
Gets a value indicating whether the control has been disposed of.
(Inherited from Control.)
IsHandleCreated
Gets a value indicating whether the control has a handle associated with it.
(Inherited from Control.)
IsInputChar(Char)
Determines whether a character is an input character that the DataGridView recognizes.
(Inherited from DataGridView.)
IsInputKey(Keys) (Inherited from DataGridView.)
IsMirrored
Gets a value indicating whether the control is mirrored.
(Inherited from Control.)
Item[([( 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.)
Item[([( 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.)
KeyDown
Occurs when a key is pressed while the control has focus.
(Inherited from Control.)
KeyPress
Occurs when a key is pressed while the control has focus.
(Inherited from Control.)
KeyUp
Occurs when a key is released while the control has focus.
(Inherited from Control.)
Layout
Occurs when a control should reposition its child controls.
(Inherited from Control.)
LayoutEngine
Gets a cached instance of the control's layout engine.
(Inherited from Control.)
LayoutStyle
Gets or sets the current LayoutStyle of the PGrid.

Leave
Occurs when the input focus leaves the control.
(Inherited from Control.)
Left
Gets 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.)
Location
Gets or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its container.
(Inherited from Control.)
LocationChanged
Occurs when the Location property value has changed.
(Inherited from Control.)
LostFocus
Occurs when the control loses focus.
(Inherited from Control.)
Margin
Gets or sets the space between controls.
(Inherited from Control.)
MarginChanged
Occurs when the control's margin changes.
(Inherited from Control.)
MaximumSize
Gets or sets the size that is the upper limit that GetPreferredSize(Size) can specify.
(Inherited from Control.)
MemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
MinimumSize
Gets or sets the size that is the lower limit that GetPreferredSize(Size) can specify.
(Inherited from Control.)
MouseCaptureChanged
Occurs when the control loses or gains mouse capture.
(Inherited from Control.)
MouseClick
Occurs when the control is clicked by the mouse.
(Inherited from Control.)
MouseDoubleClick
Occurs when the control is double clicked by the mouse.
(Inherited from Control.)
MouseDown
Occurs when the mouse pointer is over the control and a mouse button is pressed.
(Inherited from Control.)
MouseEnter
Occurs when the mouse pointer enters the control.
(Inherited from Control.)
MouseHover
Occurs when the mouse pointer rests on the control.
(Inherited from Control.)
MouseLeave
Occurs when the mouse pointer leaves the control.
(Inherited from Control.)
MouseMove
Occurs when the mouse pointer is moved over the control.
(Inherited from Control.)
MouseUp
Occurs when the mouse pointer is over the control and a mouse button is released.
(Inherited from Control.)
MouseWheel
Occurs when the mouse wheel moves while the control has focus.
(Inherited from Control.)
Move
Occurs when the control is moved.
(Inherited from Control.)
MultiSelect
Gets 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.)
MultiSelectChanged
Occurs when the value of the MultiSelect property changes.
(Inherited from DataGridView.)
Name
Gets or sets the name of the control.
(Inherited from Control.)
NewRowIndex
Gets the index of the row for new records.
(Inherited from DataGridView.)
NewRowNeeded
Occurs 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.)
NotifyCurrentCellDirty(Boolean)
Notifies the DataGridView that the current cell has uncommitted changes.
(Inherited from DataGridView.)
NotifyInvalidate(Rectangle)
Raises the Invalidated event with a specified region of the control to invalidate.
(Inherited from Control.)
OnAllowUserToAddRowsChanged(EventArgs)
Raises the AllowUserToAddRowsChanged event.
(Inherited from DataGridView.)
OnAllowUserToDeleteRowsChanged(EventArgs)
Raises the AllowUserToDeleteRowsChanged event.
(Inherited from DataGridView.)
OnAllowUserToOrderColumnsChanged(EventArgs)
Raises the AllowUserToOrderColumnsChanged event.
(Inherited from DataGridView.)
OnAllowUserToResizeColumnsChanged(EventArgs) (Inherited from DataGridView.)
OnAllowUserToResizeRowsChanged(EventArgs)
Raises the AllowUserToResizeRowsChanged event.
(Inherited from DataGridView.)
OnAlternatingRowsDefaultCellStyleChanged(EventArgs) (Inherited from DataGridView.)
OnAutoGenerateColumnsChanged(EventArgs)
Raises the AutoGenerateColumnsChanged event.
(Inherited from DataGridView.)
OnAutoSizeChanged(EventArgs)
Raises the AutoSizeChanged event.
(Inherited from Control.)
OnAutoSizeColumnModeChanged(DataGridViewAutoSizeColumnModeEventArgs)
Raises the AutoSizeColumnModeChanged event.
(Inherited from DataGridView.)
OnAutoSizeColumnsModeChanged(DataGridViewAutoSizeColumnsModeEventArgs)
Raises the AutoSizeColumnsModeChanged event.
(Inherited from DataGridView.)
OnAutoSizeRowsModeChanged(DataGridViewAutoSizeModeEventArgs)
Raises the AutoSizeRowsModeChanged event.
(Inherited from DataGridView.)
OnBackColorChanged(EventArgs)
Raises the BackColorChanged event.
(Inherited from Control.)
OnBackgroundColorChanged(EventArgs)
Raises the BackgroundColorChanged event.
(Inherited from DataGridView.)
OnBackgroundImageChanged(EventArgs)
Raises the BackgroundImageChanged event.
(Inherited from Control.)
OnBackgroundImageLayoutChanged(EventArgs)
Raises the BackgroundImageLayoutChanged event.
(Inherited from Control.)
OnBindingContextChanged(EventArgs)
Raises the BindingContextChanged event.
(Inherited from DataGridView.)
OnBorderStyleChanged(EventArgs)
Raises the BorderStyleChanged event.
(Inherited from DataGridView.)
OnCancelRowEdit(QuestionEventArgs)
Raises the CancelRowEdit event.
(Inherited from DataGridView.)
OnCausesValidationChanged(EventArgs)
Raises the CausesValidationChanged event.
(Inherited from Control.)
OnCellBeginEdit(DataGridViewCellCancelEventArgs)
Raises the CellBeginEdit event.
(Inherited from DataGridView.)
OnCellBorderStyleChanged(EventArgs)
Raises the CellBorderStyleChanged event.
(Inherited from DataGridView.)
OnCellClick(DataGridViewCellEventArgs)
Raises the CellClick event.
(Inherited from DataGridView.)
OnCellContentClick(DataGridViewCellEventArgs)
Raises the CellContentClick event.
(Inherited from DataGridView.)
OnCellContentDoubleClick(DataGridViewCellEventArgs)
Raises the CellContentDoubleClick event.
(Inherited from DataGridView.)
OnCellContextMenuStripChanged(DataGridViewCellEventArgs)
Raises the CellContextMenuStripChanged event.
(Inherited from DataGridView.)
OnCellContextMenuStripNeeded(DataGridViewCellContextMenuStripNeededEventArgs)
Raises the CellContextMenuStripNeeded event.
(Inherited from DataGridView.)
OnCellDoubleClick(DataGridViewCellEventArgs)
Raises the CellDoubleClick event.
(Inherited from DataGridView.)
OnCellEndEdit(DataGridViewCellEventArgs)
Raises the CellEndEdit event.
(Inherited from DataGridView.)
OnCellEnter(DataGridViewCellEventArgs)
Raises the CellEnter event.
(Inherited from DataGridView.)
OnCellErrorTextChanged(DataGridViewCellEventArgs)
Raises the CellErrorTextChanged event.
(Inherited from DataGridView.)
OnCellErrorTextNeeded(DataGridViewCellErrorTextNeededEventArgs)
Raises the CellErrorTextNeeded event.
(Inherited from DataGridView.)
OnCellFormatting(DataGridViewCellFormattingEventArgs)
When formatting a datetime cell, show DateTime.MinValue as blank.
(Overrides DataGridView.OnCellFormatting(DataGridViewCellFormattingEventArgs).)
OnCellLeave(DataGridViewCellEventArgs)
Raises the CellLeave event.
(Inherited from DataGridView.)
OnCellMouseClick(DataGridViewCellMouseEventArgs)
Raises the CellMouseClick event.
(Inherited from DataGridView.)
OnCellMouseDoubleClick(DataGridViewCellMouseEventArgs)
Raises the CellMouseDoubleClick event.
(Inherited from DataGridView.)
OnCellMouseDown(DataGridViewCellMouseEventArgs)
Raises the CellMouseDown event.
(Inherited from DataGridView.)
OnCellMouseEnter(DataGridViewCellEventArgs)
Raises the CellMouseEnter event.
(Inherited from DataGridView.)
OnCellMouseLeave(DataGridViewCellEventArgs)
Raises the CellMouseLeave event.
(Inherited from DataGridView.)
OnCellMouseMove(DataGridViewCellMouseEventArgs)
Raises the CellMouseMove event.
(Inherited from DataGridView.)
OnCellMouseUp(DataGridViewCellMouseEventArgs)
Raises the CellMouseUp event.
(Inherited from DataGridView.)
OnCellPainting(DataGridViewCellPaintingEventArgs)
Raises the CellPainting event.
(Inherited from DataGridView.)
OnCellParsing(DataGridViewCellParsingEventArgs)
When parsing a datetime cell, parse a blank cell as DateTime.MinValue
(Overrides DataGridView.OnCellParsing(DataGridViewCellParsingEventArgs).)
OnCellStateChanged(DataGridViewCellStateChangedEventArgs)
Raises the CellStateChanged event.
(Inherited from DataGridView.)
OnCellStyleChanged(DataGridViewCellEventArgs)
Raises the CellStyleChanged event.
(Inherited from DataGridView.)
OnCellStyleContentChanged(DataGridViewCellStyleContentChangedEventArgs)
Raises the CellStyleContentChanged event.
(Inherited from DataGridView.)
OnCellToolTipTextChanged(DataGridViewCellEventArgs)
Raises the CellToolTipTextChanged event.
(Inherited from DataGridView.)
OnCellToolTipTextNeeded(DataGridViewCellToolTipTextNeededEventArgs)
Raises the CellToolTipTextNeeded event.
(Inherited from DataGridView.)
OnCellValidated(DataGridViewCellEventArgs)
Raises the CellValidated event.
(Inherited from DataGridView.)
OnCellValidating(DataGridViewCellValidatingEventArgs)
Raises the CellValidating event.
(Inherited from DataGridView.)
OnCellValueChanged(DataGridViewCellEventArgs)
Raises the CellValueChanged event.
(Inherited from DataGridView.)
OnCellValueNeeded(DataGridViewCellValueEventArgs)
Raises the CellValueNeeded event.
(Inherited from DataGridView.)
OnCellValuePushed(DataGridViewCellValueEventArgs)
Raises the CellValuePushed event.
(Inherited from DataGridView.)
OnChangeUICues(UICuesEventArgs)
Raises the ChangeUICues event.
(Inherited from Control.)
OnClick(EventArgs)
Raises the Click event.
(Inherited from Control.)
OnClientSizeChanged(EventArgs)
Raises the ClientSizeChanged event.
(Inherited from Control.)
OnColumnAdded(DataGridViewColumnEventArgs)
Raises the ColumnAdded event.
(Inherited from DataGridView.)
OnColumnContextMenuStripChanged(DataGridViewColumnEventArgs)
Raises the ColumnContextMenuStripChanged event.
(Inherited from DataGridView.)
OnColumnDataPropertyNameChanged(DataGridViewColumnEventArgs)
Raises the ColumnDataPropertyNameChanged event.
(Inherited from DataGridView.)
OnColumnDefaultCellStyleChanged(DataGridViewColumnEventArgs)
Raises the ColumnDefaultCellStyleChanged event.
(Inherited from DataGridView.)
OnColumnDisplayIndexChanged(DataGridViewColumnEventArgs)
Raises the ColumnDisplayIndexChanged event.
(Inherited from DataGridView.)
OnColumnDividerDoubleClick(DataGridViewColumnDividerDoubleClickEventArgs)
Raises the ColumnDividerDoubleClick event.
(Inherited from DataGridView.)
OnColumnDividerWidthChanged(DataGridViewColumnEventArgs)
Raises the ColumnDividerWidthChanged event.
(Inherited from DataGridView.)
OnColumnHeaderCellChanged(DataGridViewColumnEventArgs)
Raises the ColumnHeaderCellChanged event.
(Inherited from DataGridView.)
OnColumnHeaderMouseClick(DataGridViewCellMouseEventArgs)
Raises the ColumnHeaderMouseClick event.
(Inherited from DataGridView.)
OnColumnHeaderMouseDoubleClick(DataGridViewCellMouseEventArgs)
Raises the ColumnHeaderMouseDoubleClick event.
(Inherited from DataGridView.)
OnColumnHeadersBorderStyleChanged(EventArgs) (Inherited from DataGridView.)
OnColumnHeadersDefaultCellStyleChanged(EventArgs) (Inherited from DataGridView.)
OnColumnHeadersHeightChanged(EventArgs)
Raises the ColumnHeadersHeightChanged event.
(Inherited from DataGridView.)
OnColumnHeadersHeightSizeModeChanged(DataGridViewAutoSizeModeEventArgs) (Inherited from DataGridView.)
OnColumnMinimumWidthChanged(DataGridViewColumnEventArgs)
Raises the ColumnMinimumWidthChanged event.
(Inherited from DataGridView.)
OnColumnNameChanged(DataGridViewColumnEventArgs)
Raises the ColumnNameChanged event.
(Inherited from DataGridView.)
OnColumnRemoved(DataGridViewColumnEventArgs)
Raises the ColumnRemoved event.
(Inherited from DataGridView.)
OnColumnSortModeChanged(DataGridViewColumnEventArgs)
Raises the ColumnSortModeChanged event.
(Inherited from DataGridView.)
OnColumnStateChanged(DataGridViewColumnStateChangedEventArgs)
Raises the ColumnStateChanged event.
(Inherited from DataGridView.)
OnColumnToolTipTextChanged(DataGridViewColumnEventArgs)
Raises the ColumnToolTipTextChanged event.
(Inherited from DataGridView.)
OnColumnWidthChanged(DataGridViewColumnEventArgs)
Raises the ColumnWidthChanged event.
(Inherited from DataGridView.)
OnContextMenuChanged(EventArgs)
Raises the ContextMenuChanged event.
(Inherited from Control.)
OnContextMenuStripChanged(EventArgs)
Raises the ContextMenuStripChanged event.
(Inherited from Control.)
OnControlAdded(ControlEventArgs)
Raises the ControlAdded event.
(Inherited from Control.)
OnControlRemoved(ControlEventArgs)
Raises the ControlRemoved event.
(Inherited from Control.)
OnCreateControl()()()()
Raises the CreateControl()()()() method.
(Inherited from Control.)
OnCurrentCellChanged(EventArgs)
Raises the CurrentCellChanged event.
(Inherited from DataGridView.)
OnCurrentCellDirtyStateChanged(EventArgs)
Raises the CurrentCellDirtyStateChanged event.
(Inherited from DataGridView.)
OnCursorChanged(EventArgs)
Raises the CursorChanged event and updates the UserSetCursor property if the cursor was changed in user code.
(Inherited from DataGridView.)
OnDataBindingComplete(DataGridViewBindingCompleteEventArgs)
Raises the DataBindingComplete event.
(Inherited from DataGridView.)
OnDataError(Boolean, DataGridViewDataErrorEventArgs)
Raises the DataError event.
(Inherited from DataGridView.)
OnDataMemberChanged(EventArgs)
Raises the DataMemberChanged event.
(Inherited from DataGridView.)
OnDataSourceChanged(EventArgs)
Raises the DataSourceChanged event.
(Inherited from DataGridView.)
OnDefaultCellStyleChanged(EventArgs)
Raises the DefaultCellStyleChanged event.
(Inherited from DataGridView.)
OnDefaultValuesNeeded(DataGridViewRowEventArgs)
Raises the DefaultValuesNeeded event.
(Inherited from DataGridView.)
OnDockChanged(EventArgs)
Raises the DockChanged event.
(Inherited from Control.)
OnDoubleClick(EventArgs)
Raises the DoubleClick event.
(Inherited from DataGridView.)
OnDragDrop(DragEventArgs)
Raises the DragDrop event.
(Inherited from Control.)
OnDragEnter(DragEventArgs)
Raises the DragEnter event.
(Inherited from Control.)
OnDragLeave(EventArgs)
Raises the DragLeave event.
(Inherited from Control.)
OnDragOver(DragEventArgs)
Raises the DragOver event.
(Inherited from Control.)
OnEditingControlShowing(DataGridViewEditingControlShowingEventArgs)
Raises the EditingControlShowing event.
(Inherited from DataGridView.)
OnEditModeChanged(EventArgs)
Raises the EditModeChanged event.
(Inherited from DataGridView.)
OnEnabledChanged(EventArgs) (Inherited from DataGridView.)
OnEnter(EventArgs)
Raises the Enter event.
(Inherited from DataGridView.)
OnFontChanged(EventArgs)
Raises the FontChanged event.
(Inherited from DataGridView.)
OnForeColorChanged(EventArgs)
Raises the ForeColorChanged event.
(Inherited from DataGridView.)
OnGiveFeedback(GiveFeedbackEventArgs)
Raises the GiveFeedback event.
(Inherited from Control.)
OnGotFocus(EventArgs) (Inherited from DataGridView.)
OnGridColorChanged(EventArgs)
Raises the GridColorChanged event.
(Inherited from DataGridView.)
OnHandleCreated(EventArgs)
Raises the HandleCreated event.
(Inherited from DataGridView.)
OnHandleDestroyed(EventArgs) (Inherited from DataGridView.)
OnHelpRequested(HelpEventArgs)
Raises the HelpRequested event.
(Inherited from Control.)
OnImeModeChanged(EventArgs)
Raises the ImeModeChanged event.
(Inherited from Control.)
OnInvalidated(InvalidateEventArgs)
Raises the Invalidated event.
(Inherited from Control.)
OnKeyDown(KeyEventArgs)
Raises the KeyDown event.
(Inherited from DataGridView.)
OnKeyPress(KeyPressEventArgs)
Raises the KeyPress event.
(Inherited from DataGridView.)
OnKeyUp(KeyEventArgs)
Raises the KeyUp event.
(Inherited from DataGridView.)
OnLayout(LayoutEventArgs)
Raises the Layout event.
(Inherited from DataGridView.)
OnLeave(EventArgs)
Raises the Leave event.
(Inherited from DataGridView.)
OnLocationChanged(EventArgs)
Raises the LocationChanged event.
(Inherited from Control.)
OnLostFocus(EventArgs) (Inherited from DataGridView.)
OnMarginChanged(EventArgs)
Raises the MarginChanged event.
(Inherited from Control.)
OnMouseCaptureChanged(EventArgs)
Raises the MouseCaptureChanged event.
(Inherited from Control.)
OnMouseClick(MouseEventArgs)
Raises the MouseClick event.
(Inherited from DataGridView.)
OnMouseDoubleClick(MouseEventArgs) (Inherited from DataGridView.)
OnMouseDown(MouseEventArgs)
Raises the MouseDown event.
(Inherited from DataGridView.)
OnMouseEnter(EventArgs) (Inherited from DataGridView.)
OnMouseHover(EventArgs)
Raises the MouseHover event.
(Inherited from Control.)
OnMouseLeave(EventArgs)
Raises the MouseLeave event.
(Inherited from DataGridView.)
OnMouseMove(MouseEventArgs)
Raises the MouseMove event.
(Inherited from DataGridView.)
OnMouseUp(MouseEventArgs)
Raises the MouseUp event.
(Inherited from DataGridView.)
OnMouseWheel(MouseEventArgs) (Inherited from DataGridView.)
OnMove(EventArgs)
Raises the Move event.
(Inherited from Control.)
OnMultiSelectChanged(EventArgs)
Raises the MultiSelectChanged event.
(Inherited from DataGridView.)
OnNewRowNeeded(DataGridViewRowEventArgs)
Raises the NewRowNeeded event.
(Inherited from DataGridView.)
OnNotifyMessage(Message)
Notifies the control of Windows messages.
(Inherited from Control.)
OnPaddingChanged(EventArgs)
Raises the PaddingChanged event.
(Inherited from Control.)
OnPaint(PaintEventArgs)
Raises the Paint event.
(Inherited from DataGridView.)
OnPaintBackground(PaintEventArgs)
Paints the background of the control.
(Inherited from Control.)
OnParentBackColorChanged(EventArgs)
Raises the BackColorChanged event when the BackColor property value of the control's container changes.
(Inherited from Control.)
OnParentBackgroundImageChanged(EventArgs)
Raises the BackgroundImageChanged event when the BackgroundImage property value of the control's container changes.
(Inherited from Control.)
OnParentBindingContextChanged(EventArgs)
Raises the BindingContextChanged event when the BindingContext property value of the control's container changes.
(Inherited from Control.)
OnParentChanged(EventArgs)
Raises the ParentChanged event.
(Inherited from Control.)
OnParentCursorChanged(EventArgs)
Raises the CursorChanged event.
(Inherited from Control.)
OnParentEnabledChanged(EventArgs)
Raises the EnabledChanged event when the Enabled property value of the control's container changes.
(Inherited from Control.)
OnParentFontChanged(EventArgs)
Raises the FontChanged event when the Font property value of the control's container changes.
(Inherited from Control.)
OnParentForeColorChanged(EventArgs)
Raises the ForeColorChanged event when the ForeColor property value of the control's container changes.
(Inherited from Control.)
OnParentRightToLeftChanged(EventArgs)
Raises the RightToLeftChanged event when the RightToLeft property value of the control's container changes.
(Inherited from Control.)
OnParentVisibleChanged(EventArgs)
Raises the VisibleChanged event when the Visible property value of the control's container changes.
(Inherited from Control.)
OnPreviewKeyDown(PreviewKeyDownEventArgs)
Raises the PreviewKeyDown event.
(Inherited from Control.)
OnPrint(PaintEventArgs)
Raises the Paint event.
(Inherited from Control.)
OnQueryContinueDrag(QueryContinueDragEventArgs)
Raises the QueryContinueDrag event.
(Inherited from Control.)
OnReadOnlyChanged(EventArgs)
Raises the ReadOnlyChanged event.
(Inherited from DataGridView.)
OnRegionChanged(EventArgs)
Raises the RegionChanged event.
(Inherited from Control.)
OnResize(EventArgs)
Raises the Resize event.
(Inherited from DataGridView.)
OnRightToLeftChanged(EventArgs) (Inherited from DataGridView.)
OnRowContextMenuStripChanged(DataGridViewRowEventArgs)
Raises the RowContextMenuStripChanged event.
(Inherited from DataGridView.)
OnRowContextMenuStripNeeded(DataGridViewRowContextMenuStripNeededEventArgs)
Raises the RowContextMenuStripNeeded event.
(Inherited from DataGridView.)
OnRowDefaultCellStyleChanged(DataGridViewRowEventArgs)
Raises the RowDefaultCellStyleChanged event.
(Inherited from DataGridView.)
OnRowDirtyStateNeeded(QuestionEventArgs)
Raises the RowDirtyStateNeeded event.
(Inherited from DataGridView.)
OnRowDividerDoubleClick(DataGridViewRowDividerDoubleClickEventArgs)
Raises the RowDividerDoubleClick event.
(Inherited from DataGridView.)
OnRowDividerHeightChanged(DataGridViewRowEventArgs)
Raises the RowDividerHeightChanged event.
(Inherited from DataGridView.)
OnRowEnter(DataGridViewCellEventArgs)
Raises the RowEnter event.
(Inherited from DataGridView.)
OnRowErrorTextChanged(DataGridViewRowEventArgs)
Raises the RowErrorTextChanged event.
(Inherited from DataGridView.)
OnRowErrorTextNeeded(DataGridViewRowErrorTextNeededEventArgs)
Raises the RowErrorTextNeeded event.
(Inherited from DataGridView.)
OnRowHeaderCellChanged(DataGridViewRowEventArgs)
Raises the RowHeaderCellChanged event.
(Inherited from DataGridView.)
OnRowHeaderMouseClick(DataGridViewCellMouseEventArgs)
Raises the RowHeaderMouseClick event.
(Inherited from DataGridView.)
OnRowHeaderMouseDoubleClick(DataGridViewCellMouseEventArgs)
Raises the RowHeaderMouseDoubleClick event.
(Inherited from DataGridView.)
OnRowHeadersBorderStyleChanged(EventArgs)
Raises the RowHeadersBorderStyleChanged event.
(Inherited from DataGridView.)
OnRowHeadersDefaultCellStyleChanged(EventArgs) (Inherited from DataGridView.)
OnRowHeadersWidthChanged(EventArgs)
Raises the RowHeadersWidthChanged event.
(Inherited from DataGridView.)
OnRowHeadersWidthSizeModeChanged(DataGridViewAutoSizeModeEventArgs)
Raises the RowHeadersWidthSizeModeChanged event.
(Inherited from DataGridView.)
OnRowHeightChanged(DataGridViewRowEventArgs)
Raises the RowHeightChanged event.
(Inherited from DataGridView.)
OnRowHeightInfoNeeded(DataGridViewRowHeightInfoNeededEventArgs)
Raises the RowHeightInfoNeeded event.
(Inherited from DataGridView.)
OnRowHeightInfoPushed(DataGridViewRowHeightInfoPushedEventArgs)
Raises the RowHeightInfoPushed event.
(Inherited from DataGridView.)
OnRowLeave(DataGridViewCellEventArgs)
Raises the RowLeave event.
(Inherited from DataGridView.)
OnRowMinimumHeightChanged(DataGridViewRowEventArgs)
Raises the RowMinimumHeightChanged event.
(Inherited from DataGridView.)
OnRowPostPaint(DataGridViewRowPostPaintEventArgs)
Raises the RowPostPaint event.
(Inherited from DataGridView.)
OnRowPrePaint(DataGridViewRowPrePaintEventArgs)
Raises the RowPrePaint event.
(Inherited from DataGridView.)
OnRowsAdded(DataGridViewRowsAddedEventArgs)
Raises the RowsAdded event.
(Inherited from DataGridView.)
OnRowsDefaultCellStyleChanged(EventArgs)
Raises the RowsDefaultCellStyleChanged event.
(Inherited from DataGridView.)
OnRowsRemoved(DataGridViewRowsRemovedEventArgs)
Raises the RowsRemoved event.
(Inherited from DataGridView.)
OnRowStateChanged(Int32, DataGridViewRowStateChangedEventArgs)
Raises the RowStateChanged event.
(Inherited from DataGridView.)
OnRowUnshared(DataGridViewRowEventArgs)
Raises the RowUnshared event.
(Inherited from DataGridView.)
OnRowValidated(DataGridViewCellEventArgs)
Raises the RowValidated event.
(Inherited from DataGridView.)
OnRowValidating(DataGridViewCellCancelEventArgs)
Raises the RowValidating event and validates the Persistent object on the current row
(Overrides DataGridView.OnRowValidating(DataGridViewCellCancelEventArgs).)
OnScroll(ScrollEventArgs)
Raises the Scroll event.
(Inherited from DataGridView.)
OnSelectionChanged(EventArgs)
Raises the SelectionChanged event.
(Inherited from DataGridView.)
OnSizeChanged(EventArgs)
Raises the SizeChanged event.
(Inherited from Control.)
OnSortCompare(DataGridViewSortCompareEventArgs)
Raises the SortCompare event.
(Inherited from DataGridView.)
OnSorted(EventArgs)
Raises the Sorted event.
(Inherited from DataGridView.)
OnStyleChanged(EventArgs)
Raises the StyleChanged event.
(Inherited from Control.)
OnSystemColorsChanged(EventArgs)
Raises the SystemColorsChanged event.
(Inherited from Control.)
OnTabIndexChanged(EventArgs)
Raises the TabIndexChanged event.
(Inherited from Control.)
OnTabStopChanged(EventArgs)
Raises the TabStopChanged event.
(Inherited from Control.)
OnTextChanged(EventArgs)
Raises the TextChanged event.
(Inherited from Control.)
OnUserAddedRow(DataGridViewRowEventArgs)
Raises the UserAddedRow event.
(Inherited from DataGridView.)
OnUserDeletedRow(DataGridViewRowEventArgs)
Raises the UserDeletedRow event.
(Inherited from DataGridView.)
OnUserDeletingRow(DataGridViewRowCancelEventArgs)
Raises the UserDeletingRow event.
(Inherited from DataGridView.)
OnValidated(EventArgs)
Raises the Validated event.
(Inherited from Control.)
OnValidating(CancelEventArgs)
Raises the Validating event.
(Inherited from DataGridView.)
OnVisibleChanged(EventArgs) (Inherited from DataGridView.)
Padding
This property is not relevant for this control.
(Inherited from DataGridView.)
PaddingChanged
Occurs when the value of the Padding property changes.
(Inherited from DataGridView.)
Paint
Occurs when the control is redrawn.
(Inherited from Control.)
PaintBackground(Graphics, Rectangle, Rectangle)
Paints the background of the DataGridView.
(Inherited from DataGridView.)
Parent
Gets or sets the parent container of the control.
(Inherited from Control.)
ParentChanged
Occurs when the Parent property value changes.
(Inherited from Control.)
PerformLayout()()()()
Forces the control to apply layout logic to all its child controls.
(Inherited from Control.)
PerformLayout(Control, String)
Forces the control to apply layout logic to all its child controls.
(Inherited from Control.)
PointToClient(Point)
Computes the location of the specified screen point into client coordinates.
(Inherited from Control.)
PointToScreen(Point)
Computes the location of the specified client point into screen coordinates.
(Inherited from Control.)
PreferredSize
Gets the size of a rectangular area into which the control can fit.
(Inherited from Control.)
PreProcessControlMessage(Message%)
Preprocesses keyboard or input messages within the message loop before they are dispatched.
(Inherited from Control.)
PreProcessMessage(Message%)
Preprocesses keyboard or input messages within the message loop before they are dispatched.
(Inherited from Control.)
PreviewKeyDown
Occurs before the KeyDown event when a key is pressed while focus is on this control.
(Inherited from Control.)
ProcessAKey(Keys)
Processes the A key.
(Inherited from DataGridView.)
ProcessCmdKey(Message%, Keys)
Processes a command key.
(Inherited from Control.)
ProcessDataGridViewKey(KeyEventArgs)
Processes keys used for navigating in the DataGridView.
(Inherited from DataGridView.)
ProcessDeleteKey(Keys)
Processes the DELETE key.
(Inherited from DataGridView.)
ProcessDialogChar(Char)
Processes a dialog character.
(Inherited from Control.)
ProcessDialogKey(Keys)
Processes keys, such as the TAB, ESCAPE, ENTER, and ARROW keys, used to control dialog boxes.
(Inherited from DataGridView.)
ProcessDownKey(Keys)
Processes the DOWN ARROW key.
(Inherited from DataGridView.)
ProcessEndKey(Keys)
Processes the END key.
(Inherited from DataGridView.)
ProcessEnterKey(Keys)
Processes the ENTER key.
(Inherited from DataGridView.)
ProcessEscapeKey(Keys)
Processes the ESC key.
(Inherited from DataGridView.)
ProcessF2Key(Keys)
Processes the F2 key.
(Inherited from DataGridView.)
ProcessHomeKey(Keys)
Processes the HOME key.
(Inherited from DataGridView.)
ProcessInsertKey(Keys)
Processes the INSERT key.
(Inherited from DataGridView.)
ProcessKeyEventArgs(Message%)
Processes a key message and generates the appropriate control events.
(Inherited from DataGridView.)
ProcessKeyMessage(Message%)
Processes a keyboard message.
(Inherited from Control.)
ProcessKeyPreview(Message%)
Previews a keyboard message.
(Inherited from DataGridView.)
ProcessLeftKey(Keys)
Processes the LEFT ARROW key.
(Inherited from DataGridView.)
ProcessMnemonic(Char)
Processes a mnemonic character.
(Inherited from Control.)
ProcessNextKey(Keys)
Processes the PAGE DOWN key.
(Inherited from DataGridView.)
ProcessPriorKey(Keys)
Processes the PAGE UP key.
(Inherited from DataGridView.)
ProcessRightKey(Keys)
Processes the RIGHT ARROW key.
(Inherited from DataGridView.)
ProcessSpaceKey(Keys)
Processes the SPACEBAR.
(Inherited from DataGridView.)
ProcessTabKey(Keys)
Processes the TAB key.
(Inherited from DataGridView.)
ProcessUpKey(Keys)
Processes the UP ARROW key.
(Inherited from DataGridView.)
ProcessZeroKey(Keys)
Processes the 0 key.
(Inherited from DataGridView.)
ProductName
Gets the product name of the assembly containing the control.
(Inherited from Control.)
ProductVersion
Gets the version of the assembly containing the control.
(Inherited from Control.)
QueryAccessibilityHelp
Occurs when AccessibleObject is providing help to accessibility applications.
(Inherited from Control.)
QueryContinueDrag
Occurs 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.)
RaiseDragEvent(Object, DragEventArgs)
Raises the appropriate drag event.
(Inherited from Control.)
RaiseKeyEvent(Object, KeyEventArgs)
Raises the appropriate key event.
(Inherited from Control.)
RaiseMouseEvent(Object, MouseEventArgs)
Raises the appropriate mouse event.
(Inherited from Control.)
RaisePaintEvent(Object, PaintEventArgs)
Raises the appropriate paint event.
(Inherited from Control.)
ReadOnly
Gets or sets a value indicating whether the user can edit the cells of the DataGridView control.
(Inherited from DataGridView.)
ReadOnlyChanged
Occurs when the ReadOnly property changes.
(Inherited from DataGridView.)
RecreateHandle()()()()
Forces the re-creation of the handle for the control.
(Inherited from Control.)
RecreatingHandle
Gets a value indicating whether the control is currently re-creating its handle.
(Inherited from Control.)
RectangleToClient(Rectangle)
Computes the size and location of the specified screen rectangle in client coordinates.
(Inherited from Control.)
RectangleToScreen(Rectangle)
Computes the size and location of the specified client rectangle in screen coordinates.
(Inherited from Control.)
Refresh()()()()
Forces the control to invalidate its client area and immediately redraw itself and any child controls.
(Inherited from Control.)
RefreshEdit()()()()
Refreshes 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.)
RefreshFromDataSource()()()()
Refreshes the grid from the IPersistateList collection to which it is bound.

Region
Gets or sets the window region associated with the control.
(Inherited from Control.)
RegionChanged
Occurs when the value of the Region property changes.
(Inherited from Control.)
RenderRightToLeft Obsolete.
This property is now obsolete.
(Inherited from Control.)
ResetBackColor()()()()
Resets the BackColor property to its default value.
(Inherited from Control.)
ResetBindings()()()()
Causes a control bound to the BindingSource to reread all the items in the list and refresh their displayed values.
(Inherited from Control.)
ResetCursor()()()()
Resets the Cursor property to its default value.
(Inherited from Control.)
ResetFont()()()()
Resets the Font property to its default value.
(Inherited from Control.)
ResetForeColor()()()()
Resets the ForeColor property to its default value.
(Inherited from Control.)
ResetImeMode()()()()
Resets the ImeMode property to its default value.
(Inherited from Control.)
ResetMouseEventArgs()()()()
Resets the control to handle the MouseLeave event.
(Inherited from Control.)
ResetRightToLeft()()()()
Resets the RightToLeft property to its default value.
(Inherited from Control.)
ResetText()()()()
Resets the Text property to its default value.
(Inherited from DataGridView.)
Resize
Occurs when the control is resized.
(Inherited from Control.)
ResizeRedraw
Gets or sets a value indicating whether the control redraws itself when resized.
(Inherited from Control.)
ResumeLayout()()()()
Resumes usual layout logic.
(Inherited from Control.)
ResumeLayout(Boolean)
Resumes usual layout logic, optionally forcing an immediate layout of pending layout requests.
(Inherited from Control.)
Right
Gets the distance, in pixels, between the right edge of the control and the left edge of its container's client area.
(Inherited from Control.)
RightToLeft
Gets or sets a value indicating whether control's elements are aligned to support locales using right-to-left fonts.
(Inherited from Control.)
RightToLeftChanged
Occurs when the RightToLeft property value changes.
(Inherited from Control.)
RowContextMenuStripChanged
Occurs when the ContextMenuStrip property changes.
(Inherited from DataGridView.)
RowContextMenuStripNeeded
Occurs when a row's shortcut menu is needed.
(Inherited from DataGridView.)
RowCount
Gets or sets the number of rows displayed in the DataGridView.
(Inherited from DataGridView.)
RowDefaultCellStyleChanged
Occurs when the value of the DefaultCellStyle property for a row changes.
(Inherited from DataGridView.)
RowDirtyStateNeeded
Occurs 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.)
RowDividerDoubleClick
Occurs when the user double-clicks the divider between two rows.
(Inherited from DataGridView.)
RowDividerHeightChanged
Occurs when the DividerHeight property changes.
(Inherited from DataGridView.)
RowEnter
Occurs when a row receives input focus but before it becomes the current row.
(Inherited from DataGridView.)
RowErrorTextChanged
Occurs when the ErrorText property of a row changes.
(Inherited from DataGridView.)
RowErrorTextNeeded
Occurs when a row's error text is needed.
(Inherited from DataGridView.)
RowHeaderCellChanged
Occurs when the user changes the contents of a row header cell.
(Inherited from DataGridView.)
RowHeaderMouseClick
Occurs when the user clicks within the boundaries of a row header.
(Inherited from DataGridView.)
RowHeaderMouseDoubleClick
Occurs when a row header is double-clicked.
(Inherited from DataGridView.)
RowHeadersBorderStyle
Gets or sets the border style of the row header cells.
(Inherited from DataGridView.)
RowHeadersBorderStyleChanged
Occurs when the RowHeadersBorderStyle property changes.
(Inherited from DataGridView.)
RowHeadersDefaultCellStyle
Gets or sets the default style applied to the row header cells.
(Inherited from DataGridView.)
RowHeadersDefaultCellStyleChanged
Occurs when the value of the RowHeadersDefaultCellStyle property changes.
(Inherited from DataGridView.)
RowHeadersVisible
Gets or sets a value indicating whether the column that contains row headers is displayed.
(Inherited from DataGridView.)
RowHeadersWidth
Gets or sets the width, in pixels, of the column that contains the row headers.
(Inherited from DataGridView.)
RowHeadersWidthChanged
Occurs when value of the RowHeadersWidth property changes.
(Inherited from DataGridView.)
RowHeadersWidthSizeMode
Gets 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.)
RowHeadersWidthSizeModeChanged
Occurs when the value of the RowHeadersWidthSizeMode property changes.
(Inherited from DataGridView.)
RowHeightChanged
Occurs when the value of the Height property for a row changes.
(Inherited from DataGridView.)
RowHeightInfoNeeded
Occurs when information about row height is requested.
(Inherited from DataGridView.)
RowHeightInfoPushed
Occurs when the user changes the height of a row.
(Inherited from DataGridView.)
RowLeave
Occurs when a row loses input focus and is no longer the current row.
(Inherited from DataGridView.)
RowMinimumHeightChanged
Occurs when the value of the MinimumHeight property for a row changes.
(Inherited from DataGridView.)
RowPostPaint
Occurs after a DataGridViewRow is painted.
(Inherited from DataGridView.)
RowPrePaint
Occurs before a DataGridViewRow is painted
(Inherited from DataGridView.)
Rows
Gets a collection that contains all the rows in the DataGridView control.
(Inherited from DataGridView.)
RowsAdded
Occurs after a new row is added to the DataGridView.
(Inherited from DataGridView.)
RowsDefaultCellStyle
Gets or sets the default style applied to the row cells of the DataGridView.
(Inherited from DataGridView.)
RowsDefaultCellStyleChanged
Occurs when the value of the RowsDefaultCellStyle property changes.
(Inherited from DataGridView.)
RowsRemoved
Occurs when a row or rows are deleted from the DataGridView.
(Inherited from DataGridView.)
RowStateChanged
Occurs when a row changes state, such as losing or gaining input focus.
(Inherited from DataGridView.)
RowTemplate
Gets or sets the row that represents the template for all the rows in the control.
(Inherited from DataGridView.)
RowUnshared
Occurs when a row's state changes from shared to unshared.
(Inherited from DataGridView.)
RowValidated
Occurs after a row has finished validating.
(Inherited from DataGridView.)
RowValidating
Occurs when a row is validating.
(Inherited from DataGridView.)
RtlTranslateAlignment(HorizontalAlignment)
Converts the specified HorizontalAlignment to the appropriate HorizontalAlignment to support right-to-left text.
(Inherited from Control.)
RtlTranslateAlignment(LeftRightAlignment)
Converts the specified LeftRightAlignment to the appropriate LeftRightAlignment to support right-to-left text.
(Inherited from Control.)
RtlTranslateAlignment(ContentAlignment)
Converts the specified ContentAlignment to the appropriate ContentAlignment to support right-to-left text.
(Inherited from Control.)
RtlTranslateContent(ContentAlignment)
Converts the specified ContentAlignment to the appropriate ContentAlignment to support right-to-left text.
(Inherited from Control.)
RtlTranslateHorizontal(HorizontalAlignment)
Converts the specified HorizontalAlignment to the appropriate HorizontalAlignment to support right-to-left text.
(Inherited from Control.)
RtlTranslateLeftRight(LeftRightAlignment)
Converts the specified LeftRightAlignment to the appropriate LeftRightAlignment to support right-to-left text.
(Inherited from Control.)
Scale(Single) Obsolete.
Scales the control and any child controls.
(Inherited from Control.)
Scale(Single, Single) Obsolete.
Scales the entire control and any child controls.
(Inherited from Control.)
Scale(SizeF)
Scales the control and all child controls by the specified scaling factor.
(Inherited from Control.)
ScaleChildren
Gets a value that determines the scaling of child controls.
(Inherited from Control.)
ScaleControl(SizeF, BoundsSpecified)
Scales a control's location, size, padding and margin.
(Inherited from Control.)
ScaleCore(Single, Single)
This method is not relevant for this class.
(Inherited from Control.)
Scroll
Occurs when the user scrolls through the control contents.
(Inherited from DataGridView.)
ScrollBars
Gets or sets the type of scroll bars to display for the DataGridView control.
(Inherited from DataGridView.)
Select()()()()
Activates the control.
(Inherited from Control.)
Select(Boolean, Boolean)
Activates a child control. Optionally specifies the direction in the tab order to select the control from.
(Inherited from Control.)
SelectAll()()()()
Selects all the cells in the DataGridView.
(Inherited from DataGridView.)
SelectedCells
Gets the collection of cells selected by the user.
(Inherited from DataGridView.)
SelectedColumns
Gets the collection of columns selected by the user.
(Inherited from DataGridView.)
SelectedRows
Gets the collection of rows selected by the user.
(Inherited from DataGridView.)
SelectionChanged
Occurs when the current selection changes.
(Inherited from DataGridView.)
SelectionMode
Gets or sets a value indicating how the cells of the DataGridView can be selected.
(Inherited from DataGridView.)
SelectNextControl(Control, Boolean, Boolean, Boolean, Boolean)
Activates the next control.
(Inherited from Control.)
SendToBack()()()()
Sends the control to the back of the z-order.
(Inherited from Control.)
SetAutoSizeMode(AutoSizeMode)
Sets a value indicating how a control will behave when its AutoSize property is enabled.
(Inherited from Control.)
SetBindings(IPContainer)
Binds to the object collection to be shown in the grid.

SetBounds(Int32, Int32, Int32, Int32)
Sets the bounds of the control to the specified location and size.
(Inherited from Control.)
SetBounds(Int32, Int32, Int32, Int32, BoundsSpecified)
Sets the specified bounds of the control to the specified location and size.
(Inherited from Control.)
SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified) (Inherited from DataGridView.)
SetClientSizeCore(Int32, Int32)
Sets the size of the client area of the control.
(Inherited from Control.)
SetCurrent(Persistent)
Sets the current row of the grid to that showing a particular object.

SetCurrentCellAddressCore(Int32, Int32, Boolean, Boolean, Boolean)
Sets the currently active cell.
(Inherited from DataGridView.)
SetSelectedCellCore(Int32, Int32, Boolean)
Changes the selection state of the cell with the specified row and column indexes.
(Inherited from DataGridView.)
SetSelectedColumnCore(Int32, Boolean)
Changes the selection state of the column with the specified index.
(Inherited from DataGridView.)
SetSelectedRowCore(Int32, Boolean)
Changes the selection state of the row with the specified index.
(Inherited from DataGridView.)
SetStyle(ControlStyles, Boolean)
Sets a specified ControlStyles flag to either true or false.
(Inherited from Control.)
SetTopLevel(Boolean)
Sets the control as the top-level control.
(Inherited from Control.)
SetVisibleCore(Boolean)
Sets the control to the specified visible state.
(Inherited from Control.)
ShouldResize
Gets or sets a value determining how this grid should resize when its parent container is resized.

Show()()()()
Displays the control to the user.
(Inherited from Control.)
ShowCellErrors
Gets or sets a value indicating whether to show cell errors.
(Inherited from DataGridView.)
ShowCellToolTips
Gets or sets a value indicating whether or not ToolTips will show when the mouse pointer pauses on a cell.
(Inherited from DataGridView.)
ShowEditingIcon
Gets 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.)
ShowFocusCues
Gets a value indicating whether the control should display focus rectangles.
(Inherited from Control.)
ShowKeyboardCues
Gets a value indicating whether the user interface is in the appropriate state to show or hide keyboard accelerators.
(Inherited from Control.)
ShowRowErrors
Gets or sets a value indicating whether row headers will display error glyphs for each row that contains a data entry error.
(Inherited from DataGridView.)
Site
Gets or sets the site of the control.
(Inherited from Control.)
Size
Gets or sets the height and width of the control.
(Inherited from Control.)
SizeChanged
Occurs when the Size property value changes.
(Inherited from Control.)
SizeFromClientSize(Size)
Determines the size of the entire control from the height and width of its client area.
(Inherited from Control.)
Sort(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.)
Sort(IComparer)
Sorts the contents of the DataGridView control using an implementation of the IComparer interface.
(Inherited from DataGridView.)
SortCompare
Occurs when the DataGridView compares two cell values to perform a sort operation.
(Inherited from DataGridView.)
Sorted
Occurs when the DataGridView control completes a sorting operation.
(Inherited from DataGridView.)
SortedColumn
Gets the column by which the DataGridView contents are currently sorted.
(Inherited from DataGridView.)
SortOrder
Gets a value indicating whether the items in the DataGridView control are sorted in ascending or descending order, or are not sorted.
(Inherited from DataGridView.)
StandardTab
Gets 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.)
StyleChanged
Occurs when the control style changes.
(Inherited from DataGridView.)
SuspendLayout()()()()
Temporarily suspends the layout logic for the control.
(Inherited from Control.)
SystemColorsChanged
Occurs when the system colors change.
(Inherited from Control.)
TabIndex
Gets or sets the tab order of the control within its container.
(Inherited from Control.)
TabIndexChanged
Occurs when the TabIndex property value changes.
(Inherited from Control.)
TabStop
Gets or sets a value indicating whether the user can give the focus to this control using the TAB key.
(Inherited from Control.)
TabStopChanged
Occurs when the TabStop property value changes.
(Inherited from Control.)
Tag
Gets or sets the object that contains data about the control.
(Inherited from Control.)
Text
Gets or sets the text associated with the control.
(Inherited from DataGridView.)
TextChanged
Occurs when the value of the Text property changes.
(Inherited from DataGridView.)
Top
Gets 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.)
TopLeftHeaderCell
Gets or sets the header cell located in the upper left corner of the DataGridView control.
(Inherited from DataGridView.)
TopLevelControl
Gets 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.)
ToString()()()()
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component.)
Update()()()()
Causes the control to redraw the invalidated regions within its client area.
(Inherited from Control.)
UpdateBounds()()()()
Updates the bounds of the control with the current size and location.
(Inherited from Control.)
UpdateBounds(Int32, Int32, Int32, Int32)
Updates the bounds of the control with the specified size and location.
(Inherited from Control.)
UpdateBounds(Int32, Int32, Int32, Int32, Int32, Int32)
Updates the bounds of the control with the specified size, location, and client size.
(Inherited from Control.)
UpdateCellErrorText(Int32, Int32)
Forces the cell at the specified location to update its error text.
(Inherited from DataGridView.)
UpdateCellValue(Int32, Int32)
Forces the control to update its display of the cell at the specified location based on its new value, applying any automatic sizing modes currently in effect.
(Inherited from DataGridView.)
UpdateRowErrorText(Int32)
Forces the row at the given row index to update its error text.
(Inherited from DataGridView.)
UpdateRowErrorText(Int32, Int32)
Forces the rows in the given range to update their error text.
(Inherited from DataGridView.)
UpdateRowHeightInfo(Int32, Boolean)
Forces the specified row or rows to update their height information.
(Inherited from DataGridView.)
UpdateStyles()()()()
Forces the assigned styles to be reapplied to the control.
(Inherited from Control.)
UpdateZOrder()()()()
Updates the control in its parent's z-order.
(Inherited from Control.)
UseAppliedStyles
Gets or sets a value indicating whether LayoutStyles should be applied to this control at run time.

UserAddedRow
Occurs when the user has finished adding a row to the DataGridView control.
(Inherited from DataGridView.)
UserDeletedRow
Occurs when the user has finished deleting a row from the DataGridView control.
(Inherited from DataGridView.)
UserDeletingRow
Occurs when the user deletes a row from the DataGridView control.
(Inherited from DataGridView.)
UserSetCursor
Gets the default or user-specified value of the Cursor property.
(Inherited from DataGridView.)
UseWaitCursor
Gets or sets a value indicating whether to use the wait cursor for the current control and all child controls.
(Inherited from Control.)
Validated
Occurs when the control is finished validating.
(Inherited from Control.)
Validating
Occurs when the control is validating.
(Inherited from Control.)
VerticalScrollBar
Gets the vertical scroll bar of the control.
(Inherited from DataGridView.)
VerticalScrollingOffset
Gets the number of pixels by which the control is scrolled vertically.
(Inherited from DataGridView.)
VirtualMode
Gets or sets a value indicating whether you have provided your own data-management operations for the DataGridView control.
(Inherited from DataGridView.)
Visible
Gets or sets a value indicating whether the control and all its parent controls are displayed.
(Inherited from Control.)
VisibleChanged
Occurs when the Visible property value changes.
(Inherited from Control.)
Width
Gets or sets the width of the control.
(Inherited from Control.)
WindowTarget
This property is not relevant for this class.
(Inherited from Control.)
WndProc(Message%)
Processes window messages.
(Inherited from DataGridView.)
Remarks

This grid is used in Persistate to display IPersistateList collections, and participates in the Persistate binding scheme. It has members to find or set information on the bound objects in the rows of the grid - see BoundCollection, ActiveObject, GetRowObject and SetCurrent.

The core property of an IPControl is DataPropertyName which is used to bind the control to a property of the object which is bound to the containing IPContainer using the latter's DataSource property. The ShouldResize property allows you to control how the control resizes when its container resizes.

IStyled gives this control the ability to change its LayoutStyle at run-time, either on its own or as a part of a style change of its container. This controls the colours and font used by the control.

Inheritance Hierarchy

Assembly: Persistate.UI.Desktop (Module: Persistate.UI.Desktop) Version: 0.6.1.20 (0.6.1.20)