System.Windows.Forms.DataGridViewHeaderCell Members

The members of System.Windows.Forms.DataGridViewHeaderCell are listed below.

See Also: Inherited members from System.Windows.Forms.DataGridViewCell

Public Constructors

Initializes a new instance of the System.Windows.Forms.DataGridViewHeaderCell class.

Public Properties

[read-only]
override
Displayedbool. Documentation for this section has not yet been entered.
[read-only]
override
FormattedValueTypeType.

Gets the type of the formatted value of the cell.

[read-only]
override
Frozenbool.

Gets a value indicating whether the cell is frozen.

override
ReadOnlybool.

Gets a value indicating whether the header cell is read-only.

[read-only]
override
Resizablebool.

Gets a value indicating whether the cell is resizable.

override
Selectedbool.

Gets or sets a value indicating whether the cell is selected.

override
ValueTypeType.

Gets the type of the value stored in the cell.

[read-only]
override
Visiblebool.

Gets a value indicating whether or not the cell is visible.

Protected Properties

[read-only]
ButtonStateButtonState.

Gets the buttonlike visual state of the header cell.

Public Methods

override
Clone() : object

Creates an exact copy of this cell.

override
GetInheritedContextMenuStrip(int) : ContextMenuStrip

Gets the shortcut menu of the header cell.

override
GetInheritedState(int) : DataGridViewElementStates

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

override
ToString() : string
Documentation for this section has not yet been entered.

Protected Methods

override
Dispose(bool)

Releases the unmanaged resources used by the System.Windows.Forms.DataGridViewHeaderCell and optionally releases the managed resources.

override
GetSize(int) : System.Drawing.Size

Gets the size of the cell.

override
GetValue(int) : object

Gets the value of the cell.

override
MouseDownUnsharesRow(DataGridViewCellMouseEventArgs) : bool

Indicates whether a row will be unshared when the mouse button is held down while the pointer is on a cell in the row.

override
MouseEnterUnsharesRow(int) : bool

Indicates whether a row will be unshared when the mouse pointer moves over a cell in the row.

override
MouseLeaveUnsharesRow(int) : bool

Indicates whether a row will be unshared when the mouse pointer leaves the row.

override
MouseUpUnsharesRow(DataGridViewCellMouseEventArgs) : bool

Indicates whether a row will be unshared when the mouse button is released while the pointer is on a cell in the row.

override
OnMouseDown(DataGridViewCellMouseEventArgs)

Called when the mouse button is held down while the pointer is on a cell.

override
OnMouseEnter(int)

Called when the mouse pointer enters the cell.

override
OnMouseLeave(int)

Called when the mouse pointer leaves the cell.

override
OnMouseUp(DataGridViewCellMouseEventArgs)

Called when the mouse button is released while the pointer is over the cell.

override
Paint(System.Drawing.Graphics, System.Drawing.Rectangle, System.Drawing.Rectangle, int, DataGridViewElementStates, object, object, string, DataGridViewCellStyle, DataGridViewAdvancedBorderStyle, DataGridViewPaintParts)

Paints the current System.Windows.Forms.DataGridViewHeaderCell.