Export (0) Print
Expand All

DataGridViewCellStyle Properties

  Name Description
Public property Alignment Gets or sets a value indicating the position of the cell content within a DataGridView cell.
Public property BackColor Gets or sets the background color of a DataGridView cell.
Public property DataSourceNullValue Gets or sets the value saved to the data source when the user enters a null value into a cell.
Public property Font Gets or sets the font applied to the textual content of a DataGridView cell.
Public property ForeColor Gets or sets the foreground color of a DataGridView cell.
Public property Format Gets or sets the format string applied to the textual content of a DataGridView cell.
Public property FormatProvider Gets or sets the object used to provide culture-specific formatting of DataGridView cell values.
Public property IsDataSourceNullValueDefault Gets a value indicating whether the DataSourceNullValue property has been set.
Public property IsFormatProviderDefault Gets a value that indicates whether the FormatProvider property has been set.
Public property IsNullValueDefault Gets a value indicating whether the NullValue property has been set.
Public property NullValue Gets or sets the DataGridView cell display value corresponding to a cell value of DBNull.Value or a null reference (Nothing in Visual Basic).
Public property Padding Gets or sets the space between the edge of a DataGridViewCell and its content.
Public property SelectionBackColor Gets or sets the background color used by a DataGridView cell when it is selected.
Public property SelectionForeColor Gets or sets the foreground color used by a DataGridView cell when it is selected.
Public property Tag Gets or sets an object that contains additional data related to the DataGridViewCellStyle.
Public property 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.
Top

Community Additions

ADD
Show:
© 2014 Microsoft