DataGridViewHeaderCell

Wisej.Web.DataGridViewHeaderCell

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Contains functionality common to row header cells and column header cells.

public class DataGridViewHeaderCell : DataGridViewCell

Constructors

DataGridViewHeaderCell()

Initializes a new instance of DataGridViewHeaderCell.

Properties

Displayed

Booleanarrow-up-right:

Frozen

Booleanarrow-up-right: Returns a value indicating whether the cell is frozen.

ReadOnly

Booleanarrow-up-right: Returns a value indicating whether the header cell is read-only.

Throws:

Resizable

Booleanarrow-up-right: Returns a value indicating whether the cell is resizable.

Selected

Booleanarrow-up-right: Returns or sets whether the cell is selected.

Throws:

ValueType

Typearrow-up-right: Returns the type of the value stored in the cell.

Visible

Booleanarrow-up-right: Returns a value indicating whether or not the cell is visible.

Methods

Clone()

Creates a copy of this cell.

Returns: DataGridViewCell. The cloned DataGridViewHeaderCell.

GetInheritedState(rowIndex)

Returns a value indicating the current state of the cell as inherited from the state of its row or column.

Parameter
Type
Description

rowIndex

The index of the row containing the cell or -1 if the cell is not a row header cell or is not contained within a DataGridView control.

Returns: DataGridViewElementStates. A combination of DataGridViewElementStates values representing the current state of the cell.

Throws:

GetValue()

Returns the value of the cell.

Returns: Objectarrow-up-right. The value contained in the DataGridViewHeaderCell.

SetValue(value)

Sets the value of the cell.

Parameter
Type
Description

value

The cell value to set.

Returns: Booleanarrow-up-right. true if the value has been set; otherwise, false.

Inherited By

Name
Description

Represents a column header in a DataGridView control.

Represents a row header of a DataGridView control.

Implements

Name
Description

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?