Export (0) Print
Expand All

DataGridViewTextBoxCell Properties

The DataGridViewTextBoxCell type exposes the following members.

  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 Gets a value that indicates whether the cell is currently displayed on-screen. (Inherited from DataGridViewCell.)
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 associated with the cell. (Overrides DataGridViewCell.FormattedValueType.)
Public property Frozen Gets a value indicating whether the cell is frozen. (Inherited from DataGridViewCell.)
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 MaxInputLength Gets or sets the maximum number of characters that can be entered into the text box.
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 or sets a value indicating whether the cell's data can be edited. (Inherited from DataGridViewCell.)
Public property Resizable Gets a value indicating whether the cell can be resized. (Inherited from DataGridViewCell.)
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 has been selected. (Inherited from DataGridViewCell.)
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 or sets the data type of the values in the cell. (Overrides DataGridViewCell.ValueType.)
Public property Visible Gets a value indicating whether the cell is in a row or column that has been hidden. (Inherited from DataGridViewCell.)
Top
Show:
© 2014 Microsoft