DataGridViewCellStyle Properties

DataGridViewCellStyle Properties

 

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

NameDescription
System_CAPS_pubpropertyAlignment

Gets or sets a value indicating the position of the cell content within a DataGridView cell.

System_CAPS_pubpropertyBackColor

Gets or sets the background color of a DataGridView cell.

System_CAPS_pubpropertyDataSourceNullValue

Gets or sets the value saved to the data source when the user enters a null value into a cell.

System_CAPS_pubpropertyFont

Gets or sets the font applied to the textual content of a DataGridView cell.

System_CAPS_pubpropertyForeColor

Gets or sets the foreground color of a DataGridView cell.

System_CAPS_pubpropertyFormat

Gets or sets the format string applied to the textual content of a DataGridView cell.

System_CAPS_pubpropertyFormatProvider

Gets or sets the object used to provide culture-specific formatting of DataGridView cell values.

System_CAPS_pubpropertyIsDataSourceNullValueDefault

Gets a value indicating whether the DataSourceNullValue property has been set.

System_CAPS_pubpropertyIsFormatProviderDefault

Gets a value that indicates whether the FormatProvider property has been set.

System_CAPS_pubpropertyIsNullValueDefault

Gets a value indicating whether the NullValue property has been set.

System_CAPS_pubpropertyNullValue

Gets or sets the DataGridView cell display value corresponding to a cell value of DBNull.Value or null.

System_CAPS_pubpropertyPadding

Gets or sets the space between the edge of a DataGridViewCell and its content.

System_CAPS_pubpropertySelectionBackColor

Gets or sets the background color used by a DataGridView cell when it is selected.

System_CAPS_pubpropertySelectionForeColor

Gets or sets the foreground color used by a DataGridView cell when it is selected.

System_CAPS_pubpropertyTag

Gets or sets an object that contains additional data related to the DataGridViewCellStyle.

System_CAPS_pubpropertyWrapMode

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.

Return to top
Show:
© 2016 Microsoft