DataGridViewTextBoxCell Members
.NET Framework 3.0
Displays editable text information in a DataGridView control.
The following tables list the members exposed by the DataGridViewTextBoxCell type.
| Name | Description | |
|---|---|---|
| DataGridViewTextBoxCell | Initializes a new instance of the DataGridViewTextBoxCell class. |
| Name | Description | |
|---|---|---|
| AccessibilityObject | Gets the DataGridViewCell.DataGridViewCellAccessibleObject assigned to the DataGridViewCell.(inherited from DataGridViewCell) |
| ColumnIndex | Gets the column index for this cell. (inherited from DataGridViewCell) |
| ContentBounds | Gets the bounding rectangle that encloses the cell's content area.(inherited from DataGridViewCell) |
| ContextMenuStrip | Gets or sets the shortcut menu associated with the cell. (inherited from DataGridViewCell) |
| DataGridView | Gets the DataGridView control associated with this element.(inherited from DataGridViewElement) |
| DefaultNewRowValue | Gets the default value for a cell in the row for new records.(inherited from DataGridViewCell) |
| Displayed | Gets a value that indicates whether the cell is currently displayed on-screen. (inherited from DataGridViewCell) |
| 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) |
| EditType | Gets the type of the cell's hosted editing control. (inherited from DataGridViewCell) |
| ErrorIconBounds | Gets the bounds of the error icon for the cell.(inherited from DataGridViewCell) |
| ErrorText | Gets or sets the text describing an error condition associated with the cell. (inherited from DataGridViewCell) |
| FormattedValue | Gets the value of the cell as formatted for display.(inherited from DataGridViewCell) |
| FormattedValueType | Overridden. Gets the type of the formatted value associated with the cell. |
| Frozen | Gets a value indicating whether the cell is frozen. (inherited from DataGridViewCell) |
| HasStyle | Gets a value indicating whether the Style property has been set.(inherited from DataGridViewCell) |
| InheritedState | Gets the current state of the cell as inherited from the state of its row and column.(inherited from DataGridViewCell) |
| InheritedStyle | Gets the style currently applied to the cell. (inherited from DataGridViewCell) |
| IsInEditMode | Gets a value indicating whether this cell is currently being edited.(inherited from DataGridViewCell) |
| MaxInputLength | Gets or sets the maximum number of characters that can be entered into the text box. |
| OwningColumn | Gets the column that contains this cell.(inherited from DataGridViewCell) |
| OwningRow | Gets the row that contains this cell. (inherited from DataGridViewCell) |
| PreferredSize | Gets the size, in pixels, of a rectangular area into which the cell can fit. (inherited from DataGridViewCell) |
| ReadOnly | Gets or sets a value indicating whether the cell's data can be edited. (inherited from DataGridViewCell) |
| Resizable | Gets a value indicating whether the cell can be resized. (inherited from DataGridViewCell) |
| RowIndex | Gets the index of the cell's parent row. (inherited from DataGridViewCell) |
| Selected | Gets or sets a value indicating whether the cell has been selected. (inherited from DataGridViewCell) |
| Size | Gets the size of the cell.(inherited from DataGridViewCell) |
| State | Gets the user interface (UI) state of the element.(inherited from DataGridViewElement) |
| Style | Gets or sets the style for the cell. (inherited from DataGridViewCell) |
| Tag | Gets or sets the object that contains supplemental data about the cell. (inherited from DataGridViewCell) |
| ToolTipText | Gets or sets the ToolTip text associated with this cell.(inherited from DataGridViewCell) |
| Value | Gets or sets the value associated with this cell. (inherited from DataGridViewCell) |
| ValueType | Overridden. |
| Visible | Gets a value indicating whether the cell is in a row or column that has been hidden. (inherited from DataGridViewCell) |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| AdjustCellBorderStyle | Modifies the input cell border style according to the specified criteria. (inherited from DataGridViewCell) |
| Clone | Overridden. Creates an exact copy of this cell. |
| DetachEditingControl | Overridden. |
| Dispose | Overloaded. Releases the resources used by the DataGridViewCell. (inherited from DataGridViewCell) |
| Equals | Overloaded. Determines whether two Object instances are equal. (inherited from Object) |
| GetContentBounds | Overloaded. Returns the bounding rectangle that encloses the cell's content area. |
| 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) |
| GetHashCode | Serves as a hash function for a particular type. (inherited from Object) |
| GetInheritedContextMenuStrip | Gets the inherited shortcut menu for the current cell. (inherited from DataGridViewCell) |
| GetInheritedState | Returns a value indicating the current state of the cell as inherited from the state of its row and column. (inherited from DataGridViewCell) |
| GetInheritedStyle | Gets the style applied to the cell. (inherited from DataGridViewCell) |
| GetType | Gets the Type of the current instance. (inherited from Object) |
| InitializeEditingControl | Overridden. Attaches and initializes the hosted editing control. |
| KeyEntersEditMode | Overridden. Determines if edit mode should be started based on the given key. |
| MeasureTextHeight | Overloaded. Gets the height, in pixels, of the specified text. (inherited from DataGridViewCell) |
| MeasureTextPreferredSize | Gets the ideal height and width of the specified text given the specified characteristics. (inherited from DataGridViewCell) |
| MeasureTextSize | Gets the height and width of the specified text given the specified characteristics. (inherited from DataGridViewCell) |
| MeasureTextWidth | Gets the width, in pixels, of the specified text given the specified characteristics. (inherited from DataGridViewCell) |
| ParseFormattedValue | Converts a value formatted for display to an actual cell value. (inherited from DataGridViewCell) |
| PositionEditingControl | Overridden. |
| 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) |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) |
| ToString | Overridden. |
| Name | Description | |
|---|---|---|
| BorderWidths | Returns a Rectangle that represents the widths of all the cell margins. (inherited from DataGridViewCell) |
| ClickUnsharesRow | Indicates whether the cell's row will be unshared when the cell is clicked. (inherited from DataGridViewCell) |
| ContentClickUnsharesRow | Indicates whether the cell's row will be unshared when the cell's content is clicked. (inherited from DataGridViewCell) |
| ContentDoubleClickUnsharesRow | Indicates whether the cell's row will be unshared when the cell's content is double-clicked. (inherited from DataGridViewCell) |
| CreateAccessibilityInstance | Creates a new accessible object for the DataGridViewCell. (inherited from DataGridViewCell) |
| Dispose | Overloaded. Releases the resources used by the DataGridViewCell. (inherited from DataGridViewCell) |
| DoubleClickUnsharesRow | Indicates whether the cell's row will be unshared when the cell is double-clicked. (inherited from DataGridViewCell) |
| EnterUnsharesRow | Indicates whether the parent row will be unshared when the focus moves to the cell. (inherited from DataGridViewCell) |
| Finalize | Releases the unmanaged resources and performs other cleanup operations before the DataGridViewCell is reclaimed by garbage collection. (inherited from DataGridViewCell) |
| GetClipboardContent | Retrieves the formatted value of the cell to copy to the Clipboard. (inherited from DataGridViewCell) |
| GetContentBounds | Overloaded. Overridden. Returns the bounding rectangle that encloses the cell's content area. |
| GetErrorIconBounds | Overridden. |
| GetErrorText | Returns a string that represents the error for the cell. (inherited from DataGridViewCell) |
| GetFormattedValue | Gets the value of the cell as formatted for display. (inherited from DataGridViewCell) |
| GetPreferredSize | Overridden. |
| GetSize | Gets the size of the cell. (inherited from DataGridViewCell) |
| GetValue | Gets the value of the cell. (inherited from DataGridViewCell) |
| KeyDownUnsharesRow | Indicates whether the parent row is unshared if the user presses a key while the focus is on the cell. (inherited from DataGridViewCell) |
| KeyPressUnsharesRow | Indicates whether a row will be unshared if a key is pressed while a cell in the row has focus. (inherited from DataGridViewCell) |
| KeyUpUnsharesRow | Indicates whether the parent row is unshared when the user releases a key while the focus is on the cell. (inherited from DataGridViewCell) |
| LeaveUnsharesRow | Indicates whether a row will be unshared when the focus leaves a cell in the row. (inherited from DataGridViewCell) |
| MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object) |
| 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) |
| MouseDoubleClickUnsharesRow | Indicates whether a row will be unshared if the user double-clicks a cell in the row. (inherited from DataGridViewCell) |
| MouseDownUnsharesRow | Indicates whether a row will be unshared when the user holds down a mouse button while the pointer is on a cell in the row. (inherited from DataGridViewCell) |
| MouseEnterUnsharesRow | Indicates whether a row will be unshared when the mouse pointer moves over a cell in the row. (inherited from DataGridViewCell) |
| MouseLeaveUnsharesRow | Indicates whether a row will be unshared when the mouse pointer leaves the row. (inherited from DataGridViewCell) |
| MouseMoveUnsharesRow | Indicates whether a row will be unshared when the mouse pointer moves over a cell in the row. (inherited from DataGridViewCell) |
| MouseUpUnsharesRow | Indicates whether a row will be unshared when the user releases a mouse button while the pointer is on a cell in the row. (inherited from DataGridViewCell) |
| OnClick | Called when the cell is clicked. (inherited from DataGridViewCell) |
| OnContentClick | Called when the cell's contents are clicked. (inherited from DataGridViewCell) |
| OnContentDoubleClick | Called when the cell's contents are double-clicked. (inherited from DataGridViewCell) |
| OnDataGridViewChanged | Called when the DataGridView property of the cell changes. (inherited from DataGridViewCell) |
| OnDoubleClick | Called when the cell is double-clicked. (inherited from DataGridViewCell) |
| OnEnter | Overridden. Called by DataGridView when the selection cursor moves onto a cell. |
| OnKeyDown | Called when a character key is pressed while the focus is on a cell. (inherited from DataGridViewCell) |
| OnKeyPress | Called when a key is pressed while the focus is on a cell. (inherited from DataGridViewCell) |
| OnKeyUp | Called when a character key is released while the focus is on a cell. (inherited from DataGridViewCell) |
| OnLeave | Overridden. Called by the DataGridView when the mouse leaves a cell. |
| OnMouseClick | Overridden. Called by DataGridView when the mouse leaves a cell. |
| OnMouseDoubleClick | Called when the user double-clicks a mouse button while the pointer is on a cell. (inherited from DataGridViewCell) |
| OnMouseDown | Called when the user holds down a mouse button while the pointer is on a cell. (inherited from DataGridViewCell) |
| OnMouseEnter | Called when the mouse pointer moves over a cell. (inherited from DataGridViewCell) |
| OnMouseLeave | Called when the mouse pointer leaves the cell. (inherited from DataGridViewCell) |
| OnMouseMove | Called when the mouse pointer moves within a cell. (inherited from DataGridViewCell) |
| OnMouseUp | Called when the user releases a mouse button while the pointer is on a cell. (inherited from DataGridViewCell) |
| Paint | Overridden. |
| PaintBorder | Paints the border of the current DataGridViewCell. (inherited from DataGridViewCell) |
| PaintErrorIcon | Paints the error icon of the current DataGridViewCell. (inherited from DataGridViewCell) |
| RaiseCellClick | Raises the DataGridView.CellClick event. (inherited from DataGridViewElement) |
| RaiseCellContentClick | Raises the DataGridView.CellContentClick event. (inherited from DataGridViewElement) |
| RaiseCellContentDoubleClick | Raises the DataGridView.CellContentDoubleClick event. (inherited from DataGridViewElement) |
| RaiseCellValueChanged | Raises the DataGridView.CellValueChanged event. (inherited from DataGridViewElement) |
| RaiseDataError | Raises the DataGridView.DataError event. (inherited from DataGridViewElement) |
| RaiseMouseWheel | Raises the Control.MouseWheel event. (inherited from DataGridViewElement) |
| SetValue | Sets the value of the cell. (inherited from DataGridViewCell) |