Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DataGridViewRow Methods

The DataGridViewRow type exposes the following members.

  Name Description
Public method AdjustRowHeaderBorderStyle Modifies an input row header border style according to the specified criteria.
Public method Clone Creates an exact copy of this row. (Overrides DataGridViewBand.Clone().)
Protected method CreateAccessibilityInstance Creates a new accessible object for the DataGridViewRow.
Public method CreateCells(DataGridView) Clears the existing cells and sets their template according to the supplied DataGridView template.
Public method CreateCells(DataGridView, Object[]) Clears the existing cells and sets their template and values.
Protected method CreateCellsInstance Constructs a new collection of cells based on this row.
Public method Dispose() Releases all resources used by the DataGridViewBand. (Inherited from DataGridViewBand.)
Protected method Dispose(Boolean) Releases the unmanaged resources used by the DataGridViewBand and optionally releases the managed resources. (Inherited from DataGridViewBand.)
Protected method DrawFocus Draws a focus rectangle around the specified bounds.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Releases the resources associated with the band. (Inherited from DataGridViewBand.)
Public method GetContextMenuStrip Gets the shortcut menu for the row.
Public method GetErrorText Gets the error text for the row at the specified index.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetPreferredHeight Calculates the ideal height of the specified row based on the specified criteria.
Public method GetState Returns a value indicating the current state of the row.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnDataGridViewChanged Called when the band is associated with a different DataGridView. (Inherited from DataGridViewBand.)
Protected method Paint Paints the current row.
Protected method PaintCells Paints the cells in the current row.
Protected method PaintHeader Paints the header cell of the current row.
Protected method RaiseCellClick Raises the DataGridView.CellClick event. (Inherited from DataGridViewElement.)
Protected method RaiseCellContentClick Raises the DataGridView.CellContentClick event. (Inherited from DataGridViewElement.)
Protected method RaiseCellContentDoubleClick Raises the DataGridView.CellContentDoubleClick event. (Inherited from DataGridViewElement.)
Protected method RaiseCellValueChanged Raises the DataGridView.CellValueChanged event. (Inherited from DataGridViewElement.)
Protected method RaiseDataError Raises the DataGridView.DataError event. (Inherited from DataGridViewElement.)
Protected method RaiseMouseWheel Raises the Control.MouseWheel event. (Inherited from DataGridViewElement.)
Public method SetValues Sets the values of the row's cells.
Public method ToString Gets a human-readable string that describes the row. (Overrides DataGridViewBand.ToString().)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.