Export (0) Print
Expand All

DataGridViewHeaderCell Properties

(see also Protected Properties )
  Name Description
Public property AccessibilityObject  Gets the DataGridViewCell.DataGridViewCellAccessibleObject assigned to the DataGridViewCell. (Inherited from DataGridViewCell.)
Public property ColumnIndex  Gets the column index for this cell. (Inherited from DataGridViewCell.)
Public property ContentBounds  Gets the bounding rectangle that encloses the cell's content area. (Inherited from DataGridViewCell.)
Public property ContextMenuStrip  Gets or sets the shortcut menu associated with the cell. (Inherited from DataGridViewCell.)
Public property DataGridView  Gets the DataGridView control associated with this element. (Inherited from DataGridViewElement.)
Public property DefaultNewRowValue  Gets the default value for a cell in the row for new records. (Inherited from DataGridViewCell.)
Public property Displayed Overridden.  
Public property EditedFormattedValue  Gets the current, formatted value of the cell, regardless of whether the cell is in edit mode and the value has not been committed. (Inherited from DataGridViewCell.)
Public property EditType  Gets the type of the cell's hosted editing control. (Inherited from DataGridViewCell.)
Public property ErrorIconBounds  Gets the bounds of the error icon for the cell. (Inherited from DataGridViewCell.)
Public property ErrorText  Gets or sets the text describing an error condition associated with the cell. (Inherited from DataGridViewCell.)
Public property FormattedValue  Gets the value of the cell as formatted for display. (Inherited from DataGridViewCell.)
Public property FormattedValueType Overridden. Gets the type of the formatted value of the cell.
Public property Frozen Overridden. Gets a value indicating whether the cell is frozen.
Public property HasStyle  Gets a value indicating whether the Style property has been set. (Inherited from DataGridViewCell.)
Public property InheritedState  Gets the current state of the cell as inherited from the state of its row and column. (Inherited from DataGridViewCell.)
Public property InheritedStyle  Gets the style currently applied to the cell. (Inherited from DataGridViewCell.)
Public property IsInEditMode  Gets a value indicating whether this cell is currently being edited. (Inherited from DataGridViewCell.)
Public property OwningColumn  Gets the column that contains this cell. (Inherited from DataGridViewCell.)
Public property OwningRow  Gets the row that contains this cell. (Inherited from DataGridViewCell.)
Public property PreferredSize  Gets the size, in pixels, of a rectangular area into which the cell can fit. (Inherited from DataGridViewCell.)
Public property ReadOnly Overridden. Gets a value indicating whether the header cell is read-only.
Public property Resizable Overridden. Gets a value indicating whether the cell is resizable.
Public property RowIndex  Gets the index of the cell's parent row. (Inherited from DataGridViewCell.)
Public property Selected Overridden. Gets or sets a value indicating whether the cell is selected.
Public property Size  Gets the size of the cell. (Inherited from DataGridViewCell.)
Public property State  Gets the user interface (UI) state of the element. (Inherited from DataGridViewElement.)
Public property Style  Gets or sets the style for the cell. (Inherited from DataGridViewCell.)
Public property Tag  Gets or sets the object that contains supplemental data about the cell. (Inherited from DataGridViewCell.)
Public property ToolTipText  Gets or sets the ToolTip text associated with this cell. (Inherited from DataGridViewCell.)
Public property Value  Gets or sets the value associated with this cell. (Inherited from DataGridViewCell.)
Public property ValueType Overridden. Gets the type of the value stored in the cell.
Public property Visible Overridden. Gets a value indicating whether or not the cell is visible.
Top

  Name Description
Protected property ButtonState Gets the buttonlike visual state of the header cell.
Top

Community Additions

ADD
Show:
© 2014 Microsoft