The members of System.Windows.Forms.DataGridViewCellStyle are listed below.
See Also: Inherited members from System.Object
Initializes a new instance of the System.Windows.Forms.DataGridViewCellStyle class using default property values. | ||
Initializes a new instance of the System.Windows.Forms.DataGridViewCellStyle class using the property values of the specified System.Windows.Forms.DataGridViewCellStyle. |
Alignment | DataGridViewContentAlignment.
Gets or sets a value indicating the position of the cell content within a System.Windows.Forms.DataGridView cell. | |
BackColor | System.Drawing.Color.
Gets or sets the background color of a System.Windows.Forms.DataGridView cell. | |
DataSourceNullValue | object.
Gets or sets the value saved to the data source when the user enters a null value into a cell. | |
Font | System.Drawing.Font.
Gets or sets the font applied to the textual content of a System.Windows.Forms.DataGridView cell. | |
ForeColor | System.Drawing.Color.
Gets or sets the foreground color of a System.Windows.Forms.DataGridView cell. | |
Format | string.
Gets or sets the format string applied to the textual content of a System.Windows.Forms.DataGridView cell. | |
FormatProvider | IFormatProvider.
Gets or sets the object used to provide culture-specific formatting of System.Windows.Forms.DataGridView cell values. | |
[read-only] | IsDataSourceNullValueDefault | bool.
Gets a value indicating whether the DataGridViewCellStyle.DataSourceNullValue property has been set. |
[read-only] | IsFormatProviderDefault | bool.
Gets a value that indicates whether the DataGridViewCellStyle.FormatProvider property has been set. |
[read-only] | IsNullValueDefault | bool.
Gets a value indicating whether the DataGridViewCellStyle.NullValue property has been set. |
NullValue | object.
Gets or sets the System.Windows.Forms.DataGridView cell display value corresponding to a cell value of DBNull.Value or null. | |
Padding | Padding.
Gets or sets the space between the edge of a System.Windows.Forms.DataGridViewCell and its content. | |
SelectionBackColor | System.Drawing.Color.
Gets or sets the background color used by a System.Windows.Forms.DataGridView cell when it is selected. | |
SelectionForeColor | System.Drawing.Color.
Gets or sets the foreground color used by a System.Windows.Forms.DataGridView cell when it is selected. | |
Tag | object.
Gets or sets an object that contains additional data related to the System.Windows.Forms.DataGridViewCellStyle. | |
WrapMode | DataGridViewTriState.
Gets or sets a value indicating whether textual content in a System.Windows.Forms.DataGridView cell is wrapped to subsequent lines or truncated when it is too long to fit on a single line. |
ApplyStyle(DataGridViewCellStyle)
| ||
Clone()
| ||
override | Equals(object)
| |
override | GetHashCode()Documentation for this section has not yet been entered. | |
override | ToString()
|
ICloneable.Clone |
Creates an exact copy of this System.Windows.Forms.DataGridViewCellStyle. |