Export (0) Print
Expand All

DataGridViewCell Properties

The DataGridViewCell type exposes the following members.

  NameDescription
Public property AccessibilityObject Gets the DataGridViewCell.DataGridViewCellAccessibleObject assigned to the DataGridViewCell.
Public property ColumnIndex Gets the column index for this cell.
Public property ContentBounds Gets the bounding rectangle that encloses the cell's content area.
Public property ContextMenuStrip Gets or sets the shortcut menu associated with the cell.
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.
Public property Displayed Gets a value that indicates whether the cell is currently displayed on-screen.
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.
Public property EditType Gets the type of the cell's hosted editing control.
Public property ErrorIconBounds Gets the bounds of the error icon for the cell.
Public property ErrorText Gets or sets the text describing an error condition associated with the cell.
Public property FormattedValue Gets the value of the cell as formatted for display.
Public property FormattedValueType Gets the type of the formatted value associated with the cell.
Public property Frozen Gets a value indicating whether the cell is frozen.
Public property HasStyle Gets a value indicating whether the Style property has been set.
Public property InheritedState Gets the current state of the cell as inherited from the state of its row and column.
Public property InheritedStyle Gets the style currently applied to the cell.
Public property IsInEditMode Gets a value indicating whether this cell is currently being edited.
Public property OwningColumn Gets the column that contains this cell.
Public property OwningRow Gets the row that contains this cell.
Public property PreferredSize Gets the size, in pixels, of a rectangular area into which the cell can fit.
Public property ReadOnly Gets or sets a value indicating whether the cell's data can be edited.
Public property Resizable Gets a value indicating whether the cell can be resized.
Public property RowIndex Gets the index of the cell's parent row.
Public property Selected Gets or sets a value indicating whether the cell has been selected.
Public property Size Gets the size of the cell.
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.
Public property Tag Gets or sets the object that contains supplemental data about the cell.
Public property ToolTipText Gets or sets the ToolTip text associated with this cell.
Public property Value Gets or sets the value associated with this cell.
Public property ValueType Gets or sets the data type of the values in the cell.
Public property Visible Gets a value indicating whether the cell is in a row or column that has been hidden.
Top

Community Additions

ADD
Show:
© 2014 Microsoft