Skip to main content
Version: 4.1

DataGridViewRowHeaderCell

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Represents a row header of a DataGridView control.

public class DataGridViewRowHeaderCell : DataGridViewHeaderCell

Constructors

Instance member DataGridViewRowHeaderCell()

Initializes a new instance of DataGridViewRowHeaderCell.

Properties

Instance member ClientColIndex

Int32: Returns the client index of the row header column - always 0.

Methods

Protected member GetClipboardContent(rowIndex, firstCell, lastCell, inFirstRow, inLastRow, format)

Returns the formatted value of the cell to copy to the Clipboard.

ParameterTypeDescription
rowIndexInt32The zero-based index of the row containing the cell.
firstCellBooleantrue to indicate that the cell is in the first column of the region defined by the selected cells; otherwise, false.
lastCellBooleantrue to indicate that the cell is the last column of the region defined by the selected cells; otherwise, false.
inFirstRowBooleantrue to indicate that the cell is in the first row of the region defined by the selected cells; otherwise, false.
inLastRowBooleantrue to indicate that the cell is in the last row of the region defined by the selected cells; otherwise, false.
formatStringThe current format string of the cell.

Returns: Object. An Object that represents the value of the cell to copy to the Clipboard.

Throws:

Instance member GetInheritedStyle(includeVisualProperties)

Returns the style applied to the row header cell.

ParameterTypeDescription
includeVisualPropertiesBooleantrue 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:

Implements

NameDescription
IUserDataProvides access to the UserData and Tag properties associated to the component implementing this interface.
ICommandSourceDefines an object that can invoke a Command.