Wimark.Controls Class Library  

DataGridView Members

DataGridView overview

Public Constructors

public constructorDataGridView Constructor Initializes a new instance of the DataGridView class.

Public Properties

public propertyAccessibilityObject (inherited from Control) Gets the AccessibleObject assigned to the control.
public propertyAccessibleDefaultActionDescription (inherited from Control) Gets or sets the default action description of the control for use by accessibility client applications.
public propertyAccessibleDescription (inherited from Control) Gets or sets the description of the control used by accessibility client applications.
public propertyAccessibleName (inherited from Control) Gets or sets the name of the control used by accessibility client applications.
public propertyAccessibleRole (inherited from Control) Gets or sets the accessible role of the control
public propertyAllowColumnReorder Gets or sets a value indicating whether the user can drag column headers to reorder columns in the control.
public propertyAllowDrop (inherited from Control) Gets or sets a value indicating whether the control can accept data that the user drags onto it.
public propertyAllowUserToAddRows Gets or sets a value indicating whether the option to add rows is displayed to the user.
public propertyAllowUserToDeleteRows Gets or sets a value indicating whether the user is allowed to delete rows from the DataGridView.
public propertyAlternatingRowsDefaultStyle Gets or sets the default cell style applied to odd-numbered rows of the DataGridView.
public propertyAnchor (inherited from Control) Gets or sets which edges of the control are anchored to the edges of its container.
public propertyAutoScrollFullDrag Gets or sets a value indicating whether the DataGridView should be updated when the scroll thumb box is moving.
public propertyAutoSizeRowsCriteria Gets or sets the criteria for automatically resizing the height of a row when the user double-clicks on the resize area of the row header.
public propertyBackColor (inherited from Control) Gets or sets the background color for the control.
public propertyBindingContext (inherited from Control) Gets or sets the BindingContext for the control.
public propertyBorderStyle Gets or sets the border type of the DataGridView control.
public propertyBottom (inherited from Control) Gets the distance between the bottom edge of the control and the top edge of its container's client area.
public propertyBounds (inherited from Control) Gets or sets the size and location of the control.
public propertyCanFocus (inherited from Control) Gets a value indicating whether the control can receive focus.
public propertyCanSelect (inherited from Control) Gets a value indicating whether the control can be selected.
public propertyCapture (inherited from Control) Gets or sets a value indicating whether the control has captured the mouse.
public propertyCausesValidation (inherited from Control) Gets or sets a value indicating whether the control causes validation to be performed on any controls that require validation when it receives focus.
public propertyCellBorderColor Gets or sets the color of the grid lines separating the cells of the DataGridView.
public propertyCellBorderStyle Gets the cell border style for the DataGridView.
public propertyClientRectangle (inherited from Control) Gets the rectangle that represents the client area of the control.
public propertyClientSize (inherited from Control) Gets or sets the height and width of the client area of the control.
public propertyColumnHeadersDefaultStyle Gets or sets the default column header style.
public propertyColumnHeadersVisible Gets or sets a value indicating whether the column headers row is displayed.
public propertyColumns Gets the collection of all columns that appear in the control.
public propertyColumnsResizable Gets or sets a value indicating whether the columns are resizable.
public propertyCompanyName (inherited from Control) Gets the name of the company or creator of the application containing the control.
public propertyContainer (inherited from Component) Gets the IContainer that contains the Component.
public propertyContainsFocus (inherited from Control) Gets a value indicating whether the control, or one of its child controls, currently has the input focus.
public propertyContextMenu (inherited from Control) Gets or sets the shortcut menu associated with the control.
public propertyControls (inherited from Control) Gets the collection of controls contained within the control.
public propertyCreated (inherited from Control) Gets a value indicating whether the control has been created.
public propertyCurrentCell Gets or sets the currently active cell.
public propertyCurrentEditor Gets the Editor component hosted by the current cell, if the cell is in edit mode.
public propertyCurrentGroup Gets or sets the currently active group.
public propertyCurrentGroupOrCell Gets or sets the currently active group or cell.
public propertyCursor (inherited from Control) Gets or sets the cursor that is displayed when the mouse pointer is over the control.
public propertyDataBindings (inherited from Control) Gets the data bindings for the control.
public propertyDataModel Gets or sets the default cell style applied to odd-numbered rows of the DataGridView.
public propertyDisplayRectangle (inherited from Control) Gets the rectangle that represents the display area of the control.
public propertyDisposing (inherited from Control) Gets a value indicating whether the control is in the process of being disposed of.
public propertyDock (inherited from Control) Gets or sets which edge of the parent container a control is docked to.
public propertyEditMode Gets or sets a value indicating how to begin editing a cell.
public propertyEnabled (inherited from Control) Gets or sets a value indicating whether the control can respond to user interaction.
public propertyFirstVisibleRowIndex Gets or sets the index of the row that is the first row displayed on the DataGridView.
public propertyFocused (inherited from Control) Gets a value indicating whether the control has input focus.
public propertyFont (inherited from Control) Gets or sets the font of the text displayed by the control.
public propertyForeColor (inherited from Control) Gets or sets the foreground color of the control.
public propertyGroups Gets the collection of DataGridViewGroup objects assigned to the control.
public propertyGroupsDefaultStyle Gets or sets the default group style.
public propertyGroupsExpandCollapse Gets or sets a value indicating whether the rows assigned to a group can be expanded and collapsed.
public propertyGroupsVisible Gets or sets a value indicating whether the groups are displayed.
public propertyHandle (inherited from Control) Gets the window handle that the control is bound to.
public propertyHasChildren (inherited from Control) Gets a value indicating whether the control contains one or more child controls.
public propertyHeight (inherited from Control) Gets or sets the height of the control.
public propertyHScrollBar Gets the horizontal scroll bar.
public propertyImageList Gets or sets the ImageList to use when displaying column headers in the control.
public propertyImeMode (inherited from Control) Gets or sets the Input Method Editor (IME) mode of the control.
public propertyInvokeRequired (inherited from Control) 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.
public propertyIsAccessible (inherited from Control) Gets or sets a value indicating whether the control is visible to accessibility applications.
public propertyIsCurrentCellDirty Gets a value indicating whether the current cell has uncommitted changes.
public propertyIsCurrentCellInEditMode Gets a value indicating whether the currently active cell is being edited.
public propertyIsCurrentRowDirty Gets a value indicating whether the current row has uncommitted changes.
public propertyIsDisposed (inherited from Control) Gets a value indicating whether the control has been disposed of.
public propertyIsHandleCreated (inherited from Control) Gets a value indicating whether the control has a handle associated with it.
public propertyLeft (inherited from Control) Gets or sets the x-coordinate of a control's left edge in pixels.
public propertyLocation (inherited from Control) Gets or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its container.
public propertyMultiSelect Gets or sets a value indicating whether the user is allowed to select more than one row of the DataGridView at a time.
public propertyName (inherited from Control) Gets or sets the name of the control.
public propertyParent (inherited from Control) Gets or sets the parent container of the control.
public propertyProductName (inherited from Control) Gets the product name of the assembly containing the control.
public propertyProductVersion (inherited from Control) Gets the version of the assembly containing the control.
public propertyReadOnly Gets or sets a value indicating whether the user can edit the cells of the DataGridView control.
public propertyRecreatingHandle (inherited from Control) Gets a value indicating whether the control is currently re-creating its handle.
public propertyRegion (inherited from Control) Gets or sets the window region associated with the control.
public propertyRenderer Gets or sets the renderer that paints this control.
public propertyRight (inherited from Control) Gets the distance between the right edge of the control and the left edge of its container.
public propertyRightToLeft (inherited from Control) Gets or sets a value indicating whether control's elements are aligned to support locales using right-to-left fonts.
public propertyRowHeadersDefaultStyle Gets or sets the default style applied to the row headers.
public propertyRowHeadersWidth Gets or sets the width, in pixels, of the column that contains the row headers.
public propertyRowHeadersVisible Gets or sets a value indicating whether the column that contains row headers is displayed.
public propertyRows Gets a collection that contains all the rows in the DataGridView control.
public propertyRowsDefaultHeight Gets or sets the default height applied to the rows of the DataGridView.
public propertyRowsDefaultMinimumHeight Gets or sets the default minimum height applied to the rows of the DataGridView.
public propertyRowsDefaultStyle Gets or sets the default style applied to the row cells of the DataGridView.
public propertyRowsResizable Gets or sets a value indicating whether the rows are resizable.
public propertyScrollable Gets or sets a value indicating whether the DataGridView control displays scroll bars when they are needed.
public propertySelectionMode Gets or sets a value indicating how the cells of the DataGridView can be selected.
public propertyShowCellErrors Gets or sets a value indicating whether to show cell errors.
public propertyShowEditingIcon Gets or sets a value indicating whether or not the editing glyphs are visible in the row headers.
public propertyShowRowErrors Gets or sets a value indicating whether row headers will display error glyphs for each row that contains a data entry error.
public propertyShowToolTips Gets or sets a value indicating whether or not ToolTips will show when the mouse pointer pauses on a cell or header.
public propertySite (inherited from Control) Overridden. Gets or sets the site of the control.
public propertySize (inherited from Control) Gets or sets the height and width of the control.
public propertySortedColumn Gets the column by which the DataGridView contents are currently sorted.
public propertySortOrder Gets a value indicating whether the rows in the DataGridView control are sorted in ascending or descending order, or are not sorted.
public propertyStandardTab Gets or sets the behavior of the DataGridView control when the user presses the TAB key or TAB key combinations.
public propertyStyles Gets the collection of all styles that is used in the data grid view control.
public propertyTabIndex (inherited from Control) Gets or sets the tab order of the control within its container.
public propertyTabStop (inherited from Control) Gets or sets a value indicating whether the user can give the focus to this control using the TAB key.
public propertyTag (inherited from Control) Gets or sets the object that contains data about the control.
public propertyTop (inherited from Control) Gets or sets the y-coordinate of the control's top edge in pixels.
public propertyTopLevelControl (inherited from Control) 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.
public propertyWidth (inherited from Control) Gets or sets the width of the control.
public propertyVisible (inherited from Control) Gets or sets a value indicating whether the control is displayed.
public propertyVScrollBar Gets the vertical scroll bar.

Public Methods

public methodAreAllCellsSelected Returns a value indicating whether all the DataGridView cells are currently selected.
public methodAutoSizeColumn Resizes the width of a column, as determined by the DataGridViewAutoSizeColumnCriteria values.
public methodAutoSizeColumns Resizes the widths of all visible columns, as determined by the DataGridViewAutoSizeColumnCriteria values.
public methodAutoSizeRow Resizes the height of a row, as determined by the DataGridViewAutoSizeRowCriteria values.
public methodAutoSizeRowHeaders Overloaded. Resizes the width of the row headers.
public methodAutoSizeRows Overloaded. Resizes the heights of a set of rows, as determined by the DataGridViewAutoSizeRowCriteria values.
public methodBeginEdit Puts the currently selected cell in edit mode.
public methodBeginInvoke (inherited from Control) Overloaded. Executes a delegate asynchronously on the thread that the control's underlying handle was created on.
public methodBeginUpdate Prevents the control from drawing until the EndUpdate method is called.
public methodBringToFront (inherited from Control) Brings the control to the front of the z-order.
public methodCancelEdit Cancels edit mode for the currently selected cell and discards any changes.
public methodCancelRowEdit Cancels edit mode for the currently selected cell and discards any changes made to the row.
public methodClearSelection Clears the current selection by unselecting all selected cells.
public methodContains (inherited from Control) Retrieves a value indicating whether the specified control is a child of the control.
public methodCreateControl (inherited from Control) Forces the creation of the control, including the creation of the handle and any child controls.
public methodCreateGraphics (inherited from Control) Creates the Graphics object for the control.
public methodCreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
public methodDispose (inherited from Component) Overloaded. Releases the resources used by the Component.
public methodDoDragDrop (inherited from Control) Begins a drag-and-drop operation.
public methodEndEdit Commits and ends the edit operation on the current cell.
public methodEndInvoke (inherited from Control) Retrieves the return value of the asynchronous operation represented by the IAsyncResult object passed.
public methodEndRowEdit Ends edit mode for the currently selected cell and commits any changes made to the row.
public methodEndUpdate Resumes drawing of the DataGridView control after drawing is suspended by the BeginUpdate method.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodFindForm (inherited from Control) Retrieves the form that the control is on.
public methodFocus (inherited from Control) Sets input focus to the control.
public methodGetChildAtPoint (inherited from Control) Retrieves the child control that is located at the specified coordinates.
public methodGetContainerControl (inherited from Control) Returns the next ContainerControl up the control's chain of parent controls.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public methodGetNextControl (inherited from Control) Retrieves the next control forward or back in the tab order of child controls.
public methodGetSelectedCellAdresses Returns a collection of cell adresses selected by the user.
public methodGetSelectedColumnIndices Returns a collection of column indices selected by the user.
public methodGetSelectedRowIndices Returns a collection of row indices selected by the user.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodHide (inherited from Control) Conceals the control from the user.
public methodHitTest Returns location information, such as row and column indices, given x- and y-coordinates.
public methodInitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
public methodInvalidate (inherited from Control) Overloaded. Invalidates a specific region of the control and causes a paint message to be sent to the control.
public methodInvalidateCell Invalidates a cell in the DataGridView.
public methodInvalidateColumn Invalidates the specified column of the DataGridView.
public methodInvalidateRow Invalidates the specified row of the DataGridView.
public methodInvoke (inherited from Control) Overloaded. Executes a delegate on the thread that owns the control's underlying window handle.
public methodPerformLayout (inherited from Control) Overloaded. Forces the control to apply layout logic to child controls.
public methodPointToClient (inherited from Control) Computes the location of the specified screen point into client coordinates.
public methodPointToScreen (inherited from Control) Computes the location of the specified client point into screen coordinates.
public methodPreProcessMessage (inherited from Control) Preprocesses input messages within the message loop before they are dispatched.
public methodRectangleToClient (inherited from Control) Computes the size and location of the specified screen rectangle in client coordinates.
public methodRectangleToScreen (inherited from Control) Computes the size and location of the specified client rectangle in screen coordinates.
public methodRefresh (inherited from Control) Forces the control to invalidate its client area and immediately redraw itself and any child controls.
public methodResetBackColor (inherited from Control) Resets the BackColor property to its default value.
public methodResetBindings (inherited from Control) Resets the DataBindings property to its default value.
public methodResetCursor (inherited from Control) Resets the Cursor property to its default value.
public methodResetFont (inherited from Control) Resets the Font property to its default value.
public methodResetForeColor (inherited from Control) Resets the ForeColor property to its default value.
public methodResetImeMode (inherited from Control) Resets the ImeMode property to its default value.
public methodResetRightToLeft (inherited from Control) Resets the RightToLeft property to its default value.
public methodResetText (inherited from Control) Resets the Text property to its default value.
public methodResumeLayout (inherited from Control) Overloaded. Resumes normal layout logic.
public methodScale (inherited from Control) Overloaded. Scales the control and any child controls.
public methodSelect (inherited from Control) Overloaded. Activates a control.
public methodSelectAll Selects all the cells in the DataGridView.
public methodSelectNextControl (inherited from Control) Activates the next control.
public methodSendToBack (inherited from Control) Sends the control to the back of the z-order.
public methodSetBounds (inherited from Control) Overloaded. Sets the bounds of the control.
public methodShow (inherited from Control) Displays the control to the user.
public methodSort Overloaded. Sorts the contents of the DataGridView control using an implementation of the IComparer interface.
public methodSuspendLayout (inherited from Control) Temporarily suspends the layout logic for the control.
public methodToString (inherited from Object) Returns a String that represents the current Object.
public methodUpdate (inherited from Control) Causes the control to redraw the invalidated regions with its client area.

Public Events

public eventAfterGroupExpand Occurs after the DataGridView group is expanded or collapsed.
public eventBackColorChanged (inherited from Control) Occurs when the value of the BackColor property changes.
public eventBackgroundImageChanged (inherited from Control) Occurs when the value of the BackgroundImage property changes.
public eventBeforeGroupExpand Occurs before the DataGridView group is expanded or collapsed.
public eventBindingContextChanged (inherited from Control) Occurs when the value of the BindingContext property changes.
public eventCausesValidationChanged (inherited from Control) Occurs when the value of the CausesValidation property changes.
public eventCellActiveContentClick Occurs when the active content within a cell is clicked.
public eventCellBeginEdit Occurs when edit mode starts for the selected cell.
public eventCellClick Occurs when any part of the cell is clicked.
public eventCellDoubleClick Occurs when a cell within the DataGridView is double-clicked.
public eventCellEndEdit Occurs when edit mode stops for the currently selected cell.
public eventCellEnter Occurs when cell receives input focus, becoming the current cell in the DataGridView.
public eventCellFormatting Occurs when the contents of a cell need to be formatted for display.
public eventCellLeave Occurs when a cell loses input focus and is no longer the current cell.
public eventCellPainting Occurs when the content of a cell needs to be drawn.
public eventCellParsing Occurs when the user leaves edit mode, regardless of whether the value of the current cell has been modified.
public eventCellPostPaint Occurs after a cell is painted.
public eventCellPrePaint Occurs before a cell is painted.
public eventCellValidated Occurs after the cell has finished validating.
public eventCellValidating Occurs when the cell is validating.
public eventCellValueChanged Occurs when the value of a cell changes.
public eventChangeUICues (inherited from Control) Occurs when the focus or keyboard user interface (UI) cues change.
public eventClick (inherited from Control) Occurs when the control is clicked.
public eventColumnDisplayIndexChanged Occurs when the value the DisplayIndex property for a column changes.
public eventColumnHeaderClick Occurs when the user clicks a column header.
public eventColumnHeaderDoubleClick Occurs when a column header is double-clicked.
public eventColumnWidthChanged Occurs when the value of the Width property for a column changes.
public eventContextMenuChanged (inherited from Control) Occurs when the value of the ContextMenu property changes.
public eventControlAdded (inherited from Control) Occurs when a new control is added to the Control.ControlCollection.
public eventControlRemoved (inherited from Control) Occurs when a control is removed from the Control.ControlCollection.
public eventCursorChanged (inherited from Control) Occurs when the value of the Cursor property changes.
public eventDataError Occurs when an external data-parsing or validation operation throws an exception, or when an attempt to commit data to a data source fails.
public eventDefaultValuesNeeded Occurs when a row requires default values to be set.
public eventDisposed (inherited from Component) Adds an event handler to listen to the Disposed event on the component.
public eventDockChanged (inherited from Control) Occurs when the value of the Dock property changes.
public eventDoubleClick (inherited from Control) Occurs when the control is double-clicked.
public eventDragDrop (inherited from Control) Occurs when a drag-and-drop operation is completed.
public eventDragEnter (inherited from Control) Occurs when an object is dragged into the control's bounds.
public eventDragLeave (inherited from Control) Occurs when an object is dragged out of the control's bounds.
public eventDragOver (inherited from Control) Occurs when an object is dragged over the control's bounds.
public eventEnabledChanged (inherited from Control) Occurs when the Enabled property value has changed.
public eventEnter (inherited from Control) Occurs when the control is entered.
public eventFontChanged (inherited from Control) Occurs when the Font property value changes.
public eventForeColorChanged (inherited from Control) Occurs when the ForeColor property value changes.
public eventGiveFeedback (inherited from Control) Occurs during a drag operation.
public eventGotFocus (inherited from Control) Occurs when the control receives focus.
public eventHandleCreated (inherited from Control) Occurs when a handle is created for the control.
public eventHandleDestroyed (inherited from Control) Occurs when the control's handle is in the process of being destroyed.
public eventHelpRequested (inherited from Control) Occurs when the user requests help for a control.
public eventImeModeChanged (inherited from Control) Occurs when the ImeMode property has changed.
public eventInvalidated (inherited from Control) Occurs when a control's display requires redrawing.
public eventKeyDown (inherited from Control) Occurs when a key is pressed while the control has focus.
public eventKeyPress (inherited from Control) Occurs when a key is pressed while the control has focus.
public eventKeyUp (inherited from Control) Occurs when a key is released while the control has focus.
public eventLayout (inherited from Control) Occurs when a control should reposition its child controls.
public eventLeave (inherited from Control) Occurs when the input focus leaves the control.
public eventLocationChanged (inherited from Control) Occurs when the Location property value has changed.
public eventLostFocus (inherited from Control) Occurs when the control loses focus.
public eventMouseDown (inherited from Control) Occurs when the mouse pointer is over the control and a mouse button is pressed.
public eventMouseEnter (inherited from Control) Occurs when the mouse pointer enters the control.
public eventMouseHover (inherited from Control) Occurs when the mouse pointer hovers over the control.
public eventMouseLeave (inherited from Control) Occurs when the mouse pointer leaves the control.
public eventMouseMove (inherited from Control) Occurs when the mouse pointer is moved over the control.
public eventMouseUp (inherited from Control) Occurs when the mouse pointer is over the control and a mouse button is released.
public eventMouseWheel (inherited from Control) Occurs when the mouse wheel moves while the control has focus.
public eventMove (inherited from Control) Occurs when the control is moved.
public eventPaint (inherited from Control) Occurs when the control is redrawn.
public eventParentChanged (inherited from Control) Occurs when the Parent property value changes.
public eventQueryAccessibilityHelp (inherited from Control) Occurs when AccessibleObject is providing help to accessibility applications.
public eventQueryContinueDrag (inherited from Control) Occurs during a drag-and-drop operation and allows the drag source to determine whether the drag-and-drop operation should be canceled.
public eventResize (inherited from Control) Occurs when the control is resized.
public eventRightToLeftChanged (inherited from Control) Occurs when the RightToLeft property value changes.
public eventRowEnter Occurs when a row receives input focus and becomes the current row.
public eventRowHeaderClick Occurs when the user clicks a row header.
public eventRowHeaderDoubleClick Occurs when a row header is double-clicked.
public eventRowHeightChanged Occurs when the value of the Height property for a row changes.
public eventRowLeave Occurs when a row loses input focus and is no longer the current row.
public eventRowValidated Occurs after a row has finished validating.
public eventRowValidating Occurs when a row is validating.
public eventSelectionChanged Occurs when the current selection changes.
public eventSizeChanged (inherited from Control) Occurs when the Size property value changes.
public eventSortCompare Occurs when the DataGridView compares two cell values to perform a sort operation.
public eventSorted Occurs when the DataGridView control completes a sorting operation.
public eventStyleChanged (inherited from Control) Occurs when the control style changes.
public eventSystemColorsChanged (inherited from Control) Occurs when the system colors change.
public eventTabIndexChanged (inherited from Control) Occurs when the TabIndex property value changes.
public eventTabStopChanged (inherited from Control) Occurs when the TabStop property value changes.
public eventTextChanged (inherited from Control) Occurs when the Text property value changes.
public eventToolTipInfoNeeded Occurs when the ToolTip of a cell or a row header is needed.
public eventUserAddedRow Occurs when the user has finished adding a row to the DataGridView control.
public eventUserDeletedRow Occurs when the user has finished deleting a row from the DataGridView control.
public eventUserDeletingRow Occurs when the user deletes a row from the DataGridView control.
public eventValidated (inherited from Control) Occurs when the control is finished validating.
public eventValidating (inherited from Control) Occurs when the control is validating.
public eventVisibleChanged (inherited from Control) Occurs when the Visible property value changes.

Protected Properties

protected propertyCreateParams (inherited from Control) Gets the required creation parameters when the control handle is created.
protected propertyDefaultImeMode (inherited from Control) Gets the default Input Method Editor (IME) mode supported by the control.
protected propertyDefaultSize (inherited from Control) Gets the default size of the control.
protected propertyDesignMode (inherited from Component) Gets a value that indicates whether the Component is currently in design mode.
protected propertyEvents (inherited from Component) Gets the list of event handlers that are attached to this Component.
protected propertyFontHeight (inherited from Control) Gets or sets the height of the font of the control.
protected propertyResizeRedraw (inherited from Control) Gets or sets a value indicating whether the control redraws itself when resized.
protected propertyShowFocusCues (inherited from Control) Gets a value indicating whether the control should display focus rectangles.
protected propertyShowKeyboardCues (inherited from Control) Gets a value indicating whether the control should display keyboard shortcuts.

Protected Methods

protected methodAccessibilityNotifyClients (inherited from Control) Notifies the accessibility client applications of the specified AccessibleEvents for the specified child control.
protected methodCreateAccessibilityInstance (inherited from Control) Creates a new accessibility object for the control.
protected methodCreateControlsInstance (inherited from Control) Creates a new instance of the control collection for the control.
protected methodCreateDefaultRow Creates a new shared row for the DataGridView.
protected methodCreateHandle (inherited from Control) Creates a handle for the control.
protected methodDefWndProc (inherited from Control) Sends the specified message to the default window procedure.
protected methodDestroyHandle (inherited from Control) Destroys the handle associated with the control.
protected methodDispose (inherited from Control) Overloaded. Overridden. Releases all resources used by the Control.
protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodGetService (inherited from Component) Returns an object that represents a service provided by the Component or by its Container.
protected methodGetStyle (inherited from Control) Retrieves the value of the specified control style bit for the control.
protected methodGetTopLevel (inherited from Control) Determines if the control is a top-level control.
protected methodInitLayout (inherited from Control) Called after the control has been added to another container.
protected methodInvokeGotFocus (inherited from Control) Raises the GotFocus event for the specified control.
protected methodInvokeLostFocus (inherited from Control) Raises the LostFocus event for the specified control.
protected methodInvokeOnClick (inherited from Control) Raises the Click event for the specified control.
protected methodInvokePaint (inherited from Control) Raises the Paint event for the specified control.
protected methodInvokePaintBackground (inherited from Control) Raises the PaintBackground event for the specified control.
protected methodIsInputChar (inherited from Control) Determines if a character is an input character that the control recognizes.
protected methodIsInputKey (inherited from Control) Determines whether the specified key is a regular input key or a special key that requires preprocessing.
protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
protected methodOnAfterGroupExpand Raises the AfterGroupExpand event.
protected methodOnBackColorChanged (inherited from Control) Raises the BackColorChanged event.
protected methodOnBackgroundImageChanged (inherited from Control) Raises the BackgroundImageChanged event.
protected methodOnBeforeGroupExpand Raises the BeforeGroupExpand event.
protected methodOnBindingContextChanged (inherited from Control) Raises the BindingContextChanged event.
protected methodOnCausesValidationChanged (inherited from Control) Raises the CausesValidationChanged event.
protected methodOnCellActiveContentClick Raises the CellActiveContentClick event.
protected methodOnCellBeginEdit Raises the CellBeginEdit event.
protected methodOnCellClick Raises the CellClick event.
protected methodOnCellDoubleClick Raises the CellDoubleClick event.
protected methodOnCellEndEdit Raises the CellEndEdit event.
protected methodOnCellEnter Raises the CellEnter event.
protected methodOnCellFormatting Raises the CellFormatting event.
protected methodOnCellLeave Raises the CellLeave event.
protected methodOnCellPainting Raises the CellPainting event.
protected methodOnCellParsing Raises the CellParsing event.
protected methodOnCellPostPaint Raises the CellPostPaint event.
protected methodOnCellPrePaint Raises the CellPrePaint event.
protected methodOnCellValidated Raises the CellValidated event.
protected methodOnCellValidating Raises the CellValidating event.
protected methodOnCellValueChanged Raises the CellValueChanged event.
protected methodOnChangeUICues (inherited from Control) Raises the ChangeUICues event.
protected methodOnClick (inherited from Control) Raises the Click event.
protected methodOnColumnDisplayIndexChanged Raises the ColumnDisplayIndexChanged event.
protected methodOnColumnHeaderClick Raises the ColumnHeaderClick event.
protected methodOnColumnHeaderDoubleClick Raises the ColumnHeaderDoubleClick event.
protected methodOnColumnWidthChanged Raises the ColumnWidthChanged event.
protected methodOnContextMenuChanged (inherited from Control) Raises the ContextMenuChanged event.
protected methodOnControlAdded (inherited from Control) Raises the ControlAdded event.
protected methodOnControlRemoved (inherited from Control) Raises the ControlRemoved event.
protected methodOnCreateControl (inherited from Control) Raises the CreateControl event.
protected methodOnCursorChanged (inherited from Control) Raises the CursorChanged event.
protected methodOnDataError Raises the DataError event.
protected methodOnDefaultValuesNeeded Raises the DefaultValuesNeeded event.
protected methodOnDockChanged (inherited from Control) Raises the DockChanged event.
protected methodOnDoubleClick (inherited from Control) Raises the DoubleClick event.
protected methodOnDragDrop (inherited from Control) Raises the DragDrop event.
protected methodOnDragEnter (inherited from Control) Raises the DragEnter event.
protected methodOnDragLeave (inherited from Control) Raises the DragLeave event.
protected methodOnDragOver (inherited from Control) Raises the DragOver event.
protected methodOnEnabledChanged (inherited from Control) Raises the EnabledChanged event.
protected methodOnEnter (inherited from Control) Raises the Enter event.
protected methodOnFontChanged (inherited from Control) Raises the FontChanged event.
protected methodOnForeColorChanged (inherited from Control) Raises the ForeColorChanged event.
protected methodOnGiveFeedback (inherited from Control) Raises the GiveFeedback event.
protected methodOnGotFocus (inherited from Control) Raises the GotFocus event.
protected methodOnHandleCreated (inherited from Control) Raises the HandleCreated event.
protected methodOnHandleDestroyed (inherited from Control) Raises the HandleDestroyed event.
protected methodOnHelpRequested (inherited from Control) Raises the HelpRequested event.
protected methodOnImeModeChanged (inherited from Control) Raises the ImeModeChanged event.
protected methodOnInvalidated (inherited from Control) Raises the Invalidated event.
protected methodOnKeyDown (inherited from Control) Raises the KeyDown event.
protected methodOnKeyPress (inherited from Control) Raises the KeyPress event.
protected methodOnKeyUp (inherited from Control) Raises the KeyUp event.
protected methodOnLayout (inherited from Control) Raises the Layout event.
protected methodOnLeave (inherited from Control) Raises the Leave event.
protected methodOnLocationChanged (inherited from Control) Raises the LocationChanged event.
protected methodOnLostFocus (inherited from Control) Raises the LostFocus event.
protected methodOnMouseDown (inherited from Control) Raises the MouseDown event.
protected methodOnMouseEnter (inherited from Control) Raises the MouseEnter event.
protected methodOnMouseHover (inherited from Control) Raises the MouseHover event.
protected methodOnMouseLeave (inherited from Control) Raises the MouseLeave event.
protected methodOnMouseMove (inherited from Control) Raises the MouseMove event.
protected methodOnMouseUp (inherited from Control) Raises the MouseUp event.
protected methodOnMouseWheel (inherited from Control) Raises the MouseWheel event.
protected methodOnMove (inherited from Control) Raises the Move event.
protected methodOnNotifyMessage (inherited from Control) Notifies the control of Windows messages.
protected methodOnPaint (inherited from Control) Raises the Paint event.
protected methodOnPaintBackground (inherited from Control) Paints the background of the control.
protected methodOnParentBackColorChanged (inherited from Control) Raises the BackColorChanged event when the BackColor property value of the control's container changes.
protected methodOnParentBackgroundImageChanged (inherited from Control) Raises the BackgroundImageChanged event when the BackgroundImage property value of the control's container changes.
protected methodOnParentBindingContextChanged (inherited from Control) Raises the BindingContextChanged event when the BindingContext property value of the control's container changes.
protected methodOnParentChanged (inherited from Control) Raises the ParentChanged event.
protected methodOnParentEnabledChanged (inherited from Control) Raises the EnabledChanged event when the Enabled property value of the control's container changes.
protected methodOnParentFontChanged (inherited from Control) Raises the FontChanged event when the Font property value of the control's container changes.
protected methodOnParentForeColorChanged (inherited from Control) Raises the ForeColorChanged event when the ForeColor property value of the control's container changes.
protected methodOnParentRightToLeftChanged (inherited from Control) Raises the RightToLeftChanged event when the RightToLeft property value of the control's container changes.
protected methodOnParentVisibleChanged (inherited from Control) Raises the VisibleChanged event when the Visible property value of the control's container changes.
protected methodOnQueryContinueDrag (inherited from Control) Raises the QueryContinueDrag event.
protected methodOnResize (inherited from Control) Raises the Resize event.
protected methodOnRightToLeftChanged (inherited from Control) Raises the RightToLeftChanged event.
protected methodOnRowEnter Raises the RowEnter event.
protected methodOnRowHeaderClick Raises the RowHeaderClick event.
protected methodOnRowHeaderDoubleClick Raises the RowHeaderDoubleClick event.
protected methodOnRowHeightChanged Raises the RowHeightChanged event.
protected methodOnRowLeave Raises the RowLeave event.
protected methodOnRowValidated Raises the RowValidated event.
protected methodOnRowValidating Raises the RowValidating event.
protected methodOnSelectionChanged Raises the SelectionChanged event.
protected methodOnSizeChanged (inherited from Control) Raises the SizeChanged event.
protected methodOnSortCompare Raises the SortCompare event (this method is only generated when an event handler is added to the SortCompare event).
protected methodOnSorted Raises the Sorted event.
protected methodOnStyleChanged (inherited from Control) Raises the StyleChanged event.
protected methodOnSystemColorsChanged (inherited from Control) Raises the SystemColorsChanged event.
protected methodOnTabIndexChanged (inherited from Control) Raises the TabIndexChanged event.
protected methodOnTabStopChanged (inherited from Control) Raises the TabStopChanged event.
protected methodOnTextChanged (inherited from Control) Raises the TextChanged event.
protected methodOnToolTipInfoNeeded Raises the ToolTipInfoNeeded event.
protected methodOnUserAddedRow Raises the UserAddedRow event.
protected methodOnUserDeletedRow Raises the UserDeletedRow event.
protected methodOnUserDeletingRow Raises the UserDeletingRow event.
protected methodOnValidated (inherited from Control) Raises the Validated event.
protected methodOnValidating (inherited from Control) Raises the Validating event.
protected methodOnVisibleChanged (inherited from Control) Raises the VisibleChanged event.
protected methodProcessCmdKey (inherited from Control) Processes a command key.
protected methodProcessDialogChar (inherited from Control) Processes a dialog character.
protected methodProcessDialogKey (inherited from Control) Processes a dialog key.
protected methodProcessKeyEventArgs (inherited from Control) Processes a key message and generates the appropriate control events.
protected methodProcessKeyMessage (inherited from Control) Processes a keyboard message.
protected methodProcessKeyPreview (inherited from Control) Previews a keyboard message.
protected methodProcessMnemonic (inherited from Control) Processes a mnemonic character.
protected methodRecreateHandle (inherited from Control) Forces the re-creation of the handle for the control.
protected methodRtlTranslateAlignment (inherited from Control) Overloaded. Converts the current alignment to the appropriate alignment to support right-to-left text.
protected methodRtlTranslateContent (inherited from Control) Converts the specified ContentAlignment to the appropriate ContentAlignment to support right-to-left text.
protected methodRtlTranslateHorizontal (inherited from Control) Converts the specified HorizontalAlignment to the appropriate HorizontalAlignment to support right-to-left text.
protected methodRtlTranslateLeftRight (inherited from Control) Converts the specified LeftRightAlignment to the appropriate LeftRightAlignment to support right-to-left text.
protected methodScaleCore (inherited from Control) Performs the work of scaling the entire control and any child controls.
protected methodSelect (inherited from Control) Overloaded. Activates a control.
protected methodSetBoundsCore (inherited from Control) Performs the work of setting the specified bounds of this control.
protected methodSetClientSizeCore (inherited from Control) Sets the size of the client area of the control.
protected methodSetStyle (inherited from Control) Sets the specified style bit to the specified value.
protected methodSetTopLevel (inherited from Control) Sets the control as the top-level control.
protected methodSetVisibleCore (inherited from Control) Sets the control to the specified visible state.
protected methodUpdateBounds (inherited from Control) Overloaded. Updates the bounds of the control.
protected methodUpdateStyles (inherited from Control) Forces the assigned styles to be reapplied to the control.
protected methodUpdateZOrder (inherited from Control) Updates control in its parent's z-order.
protected methodWndProc (inherited from Control) Processes Windows messages.

See Also

DataGridView Class | Wimark.Controls Namespace