DataGridViewCellStyle Properties
.NET Framework 3.5
The DataGridViewCellStyle type exposes the following members.
| Name | Description | |
|---|---|---|
|
Alignment | Gets or sets a value indicating the position of the cell content within a DataGridView cell. |
|
BackColor | Gets or sets the background color of a DataGridView cell. |
|
DataSourceNullValue | Gets or sets the value saved to the data source when the user enters a null value into a cell. |
|
Font | Gets or sets the font applied to the textual content of a DataGridView cell. |
|
ForeColor | Gets or sets the foreground color of a DataGridView cell. |
|
Format | Gets or sets the format string applied to the textual content of a DataGridView cell. |
|
FormatProvider | Gets or sets the object used to provide culture-specific formatting of DataGridView cell values. |
|
IsDataSourceNullValueDefault | Gets a value indicating whether the DataSourceNullValue property has been set. |
|
IsFormatProviderDefault | Gets a value that indicates whether the FormatProvider property has been set. |
|
IsNullValueDefault | Gets a value indicating whether the NullValue property has been set. |
|
NullValue | Gets or sets the DataGridView cell display value corresponding to a cell value of DBNull.Value or null. |
|
Padding | Gets or sets the space between the edge of a DataGridViewCell and its content. |
|
SelectionBackColor | Gets or sets the background color used by a DataGridView cell when it is selected. |
|
SelectionForeColor | Gets or sets the foreground color used by a DataGridView cell when it is selected. |
|
Tag | Gets or sets an object that contains additional data related to the DataGridViewCellStyle. |
|
WrapMode | Gets or sets a value indicating whether textual content in a DataGridView cell is wrapped to subsequent lines or truncated when it is too long to fit on a single line. |