Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DataGridViewRowHeaderCell Members

DataGridViewRowHeaderCell Members

Represents a row header of a DataGridView control.

The following tables list the members exposed by the DataGridViewRowHeaderCell type.

  Name Description
Public method DataGridViewRowHeaderCell Initializes a new instance of the DataGridViewRowHeaderCell class.
Top

(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  (inherited from DataGridViewHeaderCell)
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  Gets the type of the formatted value of the cell.(inherited from DataGridViewHeaderCell)
Public property Frozen  Gets a value indicating whether the cell is frozen. (inherited from DataGridViewHeaderCell)
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  Gets a value indicating whether the header cell is read-only.(inherited from DataGridViewHeaderCell)
Public property Resizable  Gets a value indicating whether the cell is resizable.(inherited from DataGridViewHeaderCell)
Public property RowIndex  Gets the index of the cell's parent row. (inherited from DataGridViewCell)
Public property Selected  Gets or sets a value indicating whether the cell is selected.(inherited from DataGridViewHeaderCell)
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  Gets the type of the value stored in the cell.(inherited from DataGridViewHeaderCell)
Public property Visible  Gets a value indicating whether or not the cell is visible.(inherited from DataGridViewHeaderCell)
Top

  Name Description
Protected property ButtonState  Gets the buttonlike visual state of the header cell.(inherited from DataGridViewHeaderCell)
Top

(see also Protected Methods )
  Name Description
Public method AdjustCellBorderStyle  Modifies the input cell border style according to the specified criteria. (inherited from DataGridViewCell)
Public method Clone Overridden.  
Public method DetachEditingControl  Removes the cell's editing control from the DataGridView. (inherited from DataGridViewCell)
Public method Dispose  Overloaded. Releases the resources used by the DataGridViewHeaderCell. (inherited from DataGridViewHeaderCell)
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetContentBounds Overloaded. Returns the bounding rectangle that encloses the cell's content area.
Public method GetEditedFormattedValue  Returns 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 method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetInheritedContextMenuStrip Overridden. Retrieves the inherited shortcut menu for the specified row.
Public method GetInheritedState  Returns a value indicating the current state of the cell as inherited from the state of its row or column. (inherited from DataGridViewHeaderCell)
Public method GetInheritedStyle Overridden.  
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method InitializeEditingControl  Initializes the control used to edit the cell. (inherited from DataGridViewCell)
Public method KeyEntersEditMode  Determines if edit mode should be started based on the given key. (inherited from DataGridViewCell)
Public method Static MeasureTextHeight  Overloaded. Gets the height, in pixels, of the specified text. (inherited from DataGridViewCell)
Public method Static MeasureTextPreferredSize  Gets the ideal height and width of the specified text given the specified characteristics. (inherited from DataGridViewCell)
Public method Static MeasureTextSize  Gets the height and width of the specified text given the specified characteristics. (inherited from DataGridViewCell)
Public method Static MeasureTextWidth  Gets the width, in pixels, of the specified text given the specified characteristics. (inherited from DataGridViewCell)
Public method ParseFormattedValue  Converts a value formatted for display to an actual cell value. (inherited from DataGridViewCell)
Public method PositionEditingControl  Sets the location and size of the editing control hosted by a cell in the DataGridView control. (inherited from DataGridViewCell)
Public method PositionEditingPanel  Sets the location and size of the editing panel hosted by the cell, and returns the normal bounds of the editing control within the editing panel. (inherited from DataGridViewCell)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString Overridden.  
Top

  Name Description
Protected method BorderWidths  Returns a Rectangle that represents the widths of all the cell margins. (inherited from DataGridViewCell)
Protected method ClickUnsharesRow  Indicates whether the cell's row will be unshared when the cell is clicked. (inherited from DataGridViewCell)
Protected method ContentClickUnsharesRow  Indicates whether the cell's row will be unshared when the cell's content is clicked. (inherited from DataGridViewCell)
Protected method ContentDoubleClickUnsharesRow  Indicates whether the cell's row will be unshared when the cell's content is double-clicked. (inherited from DataGridViewCell)
Protected method CreateAccessibilityInstance Overridden. Creates a new accessible object for the DataGridViewRowHeaderCell.
Protected method Dispose  Overloaded. Releases the resources used by the DataGridViewHeaderCell. (inherited from DataGridViewHeaderCell)
Protected method DoubleClickUnsharesRow  Indicates whether the cell's row will be unshared when the cell is double-clicked. (inherited from DataGridViewCell)
Protected method EnterUnsharesRow  Indicates whether the parent row will be unshared when the focus moves to the cell. (inherited from DataGridViewCell)
Protected method Finalize  Releases the unmanaged resources and performs other cleanup operations before the DataGridViewCell is reclaimed by garbage collection. (inherited from DataGridViewCell)
Protected method GetClipboardContent Overridden. Retrieves the formatted value of the cell to copy to the Clipboard.
Protected method GetContentBounds Overloaded. Overridden. Returns the bounding rectangle that encloses the cell's content area.
Protected method GetErrorIconBounds Overridden.  
Protected method GetErrorText Overridden.  
Protected method GetFormattedValue  Gets the value of the cell as formatted for display. (inherited from DataGridViewCell)
Protected method GetPreferredSize Overridden.  
Protected method GetSize  Gets the size of the cell. (inherited from DataGridViewHeaderCell)
Protected method GetValue Overridden. Gets the value of the cell.
Protected method KeyDownUnsharesRow  Indicates whether the parent row is unshared if the user presses a key while the focus is on the cell. (inherited from DataGridViewCell)
Protected method KeyPressUnsharesRow  Indicates whether a row will be unshared if a key is pressed while a cell in the row has focus. (inherited from DataGridViewCell)
Protected method KeyUpUnsharesRow  Indicates whether the parent row is unshared when the user releases a key while the focus is on the cell. (inherited from DataGridViewCell)
Protected method LeaveUnsharesRow  Indicates whether a row will be unshared when the focus leaves a cell in the row. (inherited from DataGridViewCell)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Protected method MouseClickUnsharesRow  Indicates whether a row will be unshared if the user clicks a mouse button while the pointer is on a cell in the row. (inherited from DataGridViewCell)
Protected method MouseDoubleClickUnsharesRow  Indicates whether a row will be unshared if the user double-clicks a cell in the row. (inherited from DataGridViewCell)
Protected method MouseDownUnsharesRow  Indicates whether a row will be unshared when the mouse button is held down while the pointer is on a cell in the row. (inherited from DataGridViewHeaderCell)
Protected method MouseEnterUnsharesRow  Indicates whether a row will be unshared when the mouse pointer moves over a cell in the row. (inherited from DataGridViewHeaderCell)
Protected method MouseLeaveUnsharesRow  Indicates whether a row will be unshared when the mouse pointer leaves the row. (inherited from DataGridViewHeaderCell)
Protected method MouseMoveUnsharesRow  Indicates whether a row will be unshared when the mouse pointer moves over a cell in the row. (inherited from DataGridViewCell)
Protected method MouseUpUnsharesRow  Indicates whether a row will be unshared when the mouse button is released while the pointer is on a cell in the row. (inherited from DataGridViewHeaderCell)
Protected method OnClick  Called when the cell is clicked. (inherited from DataGridViewCell)
Protected method OnContentClick  Called when the cell's contents are clicked. (inherited from DataGridViewCell)
Protected method OnContentDoubleClick  Called when the cell's contents are double-clicked. (inherited from DataGridViewCell)
Protected method OnDataGridViewChanged  Called when the DataGridView property of the cell changes. (inherited from DataGridViewCell)
Protected method OnDoubleClick  Called when the cell is double-clicked. (inherited from DataGridViewCell)
Protected method OnEnter  Called when the focus moves to a cell. (inherited from DataGridViewCell)
Protected method OnKeyDown  Called when a character key is pressed while the focus is on a cell. (inherited from DataGridViewCell)
Protected method OnKeyPress  Called when a key is pressed while the focus is on a cell. (inherited from DataGridViewCell)
Protected method OnKeyUp  Called when a character key is released while the focus is on a cell. (inherited from DataGridViewCell)
Protected method OnLeave  Called when the focus moves from a cell. (inherited from DataGridViewCell)
Protected method OnMouseClick  Called when the user clicks a mouse button while the pointer is on a cell. (inherited from DataGridViewCell)
Protected method OnMouseDoubleClick  Called when the user double-clicks a mouse button while the pointer is on a cell. (inherited from DataGridViewCell)
Protected method OnMouseDown  Called when the mouse button is held down while the pointer is on a cell. (inherited from DataGridViewHeaderCell)
Protected method OnMouseEnter  Called when the mouse pointer enters the cell. (inherited from DataGridViewHeaderCell)
Protected method OnMouseLeave  Called when the mouse pointer leaves the cell. (inherited from DataGridViewHeaderCell)
Protected method OnMouseMove  Called when the mouse pointer moves within a cell. (inherited from DataGridViewCell)
Protected method OnMouseUp  Called when the mouse button is released while the pointer is over the cell. (inherited from DataGridViewHeaderCell)
Protected method Paint Overridden.  
Protected method PaintBorder  Paints the border of the current DataGridViewCell. (inherited from DataGridViewCell)
Protected method PaintErrorIcon  Paints the error icon of the current DataGridViewCell. (inherited from DataGridViewCell)
Protected method RaiseCellClick  Raises the DataGridView.CellClick event. (inherited from DataGridViewElement)
Protected method RaiseCellContentClick  Raises the DataGridView.CellContentClick event. (inherited from DataGridViewElement)
Protected method RaiseCellContentDoubleClick  Raises the DataGridView.CellContentDoubleClick event. (inherited from DataGridViewElement)
Protected method RaiseCellValueChanged  Raises the DataGridView.CellValueChanged event. (inherited from DataGridViewElement)
Protected method RaiseDataError  Raises the DataGridView.DataError event. (inherited from DataGridViewElement)
Protected method RaiseMouseWheel  Raises the Control.MouseWheel event. (inherited from DataGridViewElement)
Protected method SetValue Overridden.  
Top

Community Additions

ADD
Show:
© 2015 Microsoft