DataGridViewCell Constructor | Initializes a new instance of the DataGridViewCell class. |
Address | Gets the address of a cell. |
Alignment | Gets a value indicating the position of the content within a cell. |
BackColor | Gets the background color of a cell. |
Bounds | Gets the bounds of the cell. |
ColumnIndex | Gets the column index for this cell. |
Container (inherited from Component) | Gets the IContainer that contains the Component. |
CustomBorder | Gets border information when the BorderStyle is set to Custom. |
DataGridView | Gets the DataGridView control the cell is located in. |
DataGridViewRow | Gets the DataGridViewRow the cell is located in. |
DrawFocusRectangleWhenCurrent | Gets a value indicating whether the control should draw the focus rectangle when the cell is current (default is true). |
DrawSelectionBackColorWhenActive | Gets a value indicating whether the cell should use the selection backcolor when it is active (default is true). |
ErrorText | Gets or sets the text describing an error condition associated with the cell. |
Font | Gets the font applied to the textual content of a cell. |
ForeColor | Gets the foreground color of a cell. |
Format | Gets or sets the format string applied to the textual content of a cell. |
FormatProvider | Gets or sets the object used to provide culture-specific formatting of cell values. |
GetDefaultValue | Gets the default value for a cell in a newly created row. |
Indent | Gets the distance to indent the content of a cell. |
MergedColumns | Gets or sets the number of cells to the right that should be merged to this cell. |
MergedRows | Gets or sets the number of cells beneath that should be merged to this cell. |
NullValue | Gets or sets the DataGridView cell display value corresponding to a cell value of DBNull. |
ReadOnly | Gets or sets a value indicating whether the cell is read-only. |
RowIndex | Gets the index of the cell's parent row. |
Selected | Gets or sets a value indicating whether the cell is selected. |
SelectionBackColor | Gets the background color used by a cell when it is selected. |
SelectionForeColor | Gets the foreground color used by a cell when it is selected. |
Shareable | Gets or sets a value indicating whether the cell can be shared when it is scrolled out of view. |
Site (inherited from Component) | Gets or sets the ISite of the Component. |
Style | Gets or sets the style for the cell. |
Tag | Gets or sets the object that contains data about the cell. |
ToolTipText | Gets or sets the text of a tool tip that describes the cell. |
ToolTipTitle | Gets or sets the title of a tool tip that describes the cell. |
Value | Gets or sets the value associated with this cell. |
ValueType | Gets or sets the data type of the values in the cell. |
WrapMode | Gets or sets a value indicating whether textual content in a cell is wrapped to subsequent lines or truncated when it is too long to fit on a single line. |
AlignmentToContentAlignment | Converts a DataGridViewContentAlignment value to a ContentAlignment value. |
AlignmentToHorizontalAlignment | Converts a DataGridViewContentAlignment value to a HorizontalAlignment value. |
AlignmentToHorizontalStringAlignment | Converts a DataGridViewContentAlignment value to a horizontal StringAlignment value. |
AlignmentToVerticalStringAlignment | Converts a DataGridViewContentAlignment value to a vertical StringAlignment value. |
Clone | Creates an identical copy of the current DataGridViewCell that is not attached to any data grid view row. |
CreateObjRef (inherited from MarshalByRefObject) | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. |
Dispose (inherited from Component) | Overloaded. Releases the resources used by the Component. |
EnsureVisible | Ensures that the cell is visible, expanding groups and scrolling the data grid view control as necessary. |
Equals (inherited from Object) | Overloaded. Determines whether two Object instances are equal. |
GetFormattedValue | Gets the formatted value of the cell. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetLifetimeService (inherited from MarshalByRefObject) | Retrieves the current lifetime service object that controls the lifetime policy for this instance. |
GetType (inherited from Object) | Gets the Type of the current instance. |
InitializeLifetimeService (inherited from MarshalByRefObject) | Obtains a lifetime service object to control the lifetime policy for this instance. |
IsVisible | Gets a value indicating whether the cell is visible. |
ParseEditedValue | Parses the edited value to the ValueType data type. |
ShareCell | Shares a cell. Returns false if the cell cannot be shared. |
ToString (inherited from Component) | Overridden. See Object.ToString. |
Disposed (inherited from Component) | Adds an event handler to listen to the Disposed event on the component. |
DefaultValueType | Gets the default type of the values in the cell. |
DesignMode (inherited from Component) | Gets a value that indicates whether the Component is currently in design mode. |
Events (inherited from Component) | Gets the list of event handlers that are attached to this Component. |
ActivateCell | Activates the cell and returns the editor used to edit the cell value. |
ActivateOnEnter | Gets a value indicating whether the editing mode should be started when the cell is entered. |
CanActivate | Gets a value indicating whether the cell can be activated. |
ComputeContentBounds | Computes location and size of the cell content. |
ComputeErrorIconBounds | Computes location and size of the error icon. |
DeactivateCell | Deactivates the cell. |
DefaultFormatting | Formats the value of a cell before it is displayed. |
DefaultParsing | Formats the value of a cell before it is displayed. |
Dispose (inherited from Component) | Overloaded. Releases the resources used by the Component. |
DrawContent | Draws the content of the cell. |
Finalize (inherited from Component) | Overridden. See Object.Finalize. In C# and C++, finalizers are expressed using destructor syntax. |
GetActiveContentCursor | Gets the mouse cursor used when the mouse is over the active content of a cell. |
GetDefaultAlignment | Gets the default content alignment. |
GetDisposeFormattedValue | Gets a value indicating whether the formatted value should be disposed (default is false). |
GetFormattedValueType | Gets the class type of the formatted value associated with the cell. |
GetService (inherited from Component) | Returns an object that represents a service provided by the Component or by its Container. |
GetToolTipForHiddenContent | Gets the tooltip that is displayed when parts of the cell content is hidden. |
HittestActiveContent | Gets a value indicating whether a specified location is over the active content of the cell. |
IsShareable | Gets a value indicating whether the cell can be shared. |
KeyPressOnActivate | Sets the key that was pressed when the cell was activated. |
MeasureContentHeight | Measures the preferred width of the content. |
MeasureContentWidth | Measures the preferred width of the content. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
MouseClickOnActivate | Sends the mouse click event that activated the cell. |
OnActiveContentClick | Occurs when the active content within the cell is clicked. |
SetValueToNull | Sets the value to DBNull and updated the current editor if the editor is active. |