DataGridViewRowHeaderCell
Wisej.Web.DataGridViewRowHeaderCell
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Represents a row header of a DataGridView control.
public class DataGridViewRowHeaderCell : DataGridViewHeaderCell
Constructors
DataGridViewRowHeaderCell()

Initializes a new instance of DataGridViewRowHeaderCell.
Properties
ClientColIndex

Int32: Returns the client index of the row header column - always 0.
Methods
GetClipboardContent(rowIndex, firstCell, lastCell, inFirstRow, inLastRow, format)

Returns the formatted value of the cell to copy to the Clipboard.
firstCell
true to indicate that the cell is in the first column of the region defined by the selected cells; otherwise, false.
lastCell
true to indicate that the cell is the last column of the region defined by the selected cells; otherwise, false.
inFirstRow
true to indicate that the cell is in the first row of the region defined by the selected cells; otherwise, false.
inLastRow
true to indicate that the cell is in the last row of the region defined by the selected cells; otherwise, false.
Returns: Object. An Object that represents the value of the cell to copy to the Clipboard.
Throws:
ArgumentOutOfRangeExceptionrowIndex is less than 0 or greater than or equal to the number of rows in the control.
InvalidOperationException The value of the cell's DataGridView property is null.-or-ColumnIndex is less than 0, indicating that the cell is a row header cell.
Exception Formatting failed and either there is no handler for the DataError event of the DataGridView control or the handler set the ThrowException property to true. The exception object can typically be cast to type FormatException.
GetInheritedStyle(includeVisualProperties)

Returns the style applied to the row header cell.
includeVisualProperties
true to include inherited visual properties; otherwise, false to include only formatting properties.
Returns: DataGridViewCellStyle. A DataGridViewCellStyle that includes the style of the row header cell and the style inherited from the DataGridView.
Throws:
InvalidOperationException The cell has no associated DataGridView.
Implements
Provides access to the UserData
and Tag
properties associated to the component implementing this interface.
Defines an object that can invoke a Command.
Last updated
Was this helpful?