Wisej.Web.DataGridViewCellStyle
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Represents the formatting and style information applied to individual cells within a DataGridView control.
Initializes a new instance of the DataGridViewCellStyle class using default property values.
DataGridViewContentAlignment: Returns or sets a value indicating the position of the cell content within a DataGridViewCell cell.
Color: Returns or sets the background color of a DataGridViewCell cell.
Image: Returns or sets the background image displayed in a DataGridViewCell cell.
ContentAlignment: Returns or sets the background image alignment as defined in the ContentAlignment enumeration.
ImageLayout: Returns or sets the background image layout as defined in the ImageLayout enumeration.
String: Returns or sets the theme name or URL for the background image displayed in a DataGridViewCell cell.
Int32: Returns or sets the number of columns that this cell can use to render its content.
Throws:
ArgumentOutOfRangeException The value is lower than 1 or greater than 100.
String: Returns or sets additional CSS class names to add to the DataGridViewCell.
String: Returns or sets the custom CSS styles to apply to the DataGridViewCell.
You can use any CSS style string.
Font: Returns or sets the font applied to the textual content of a DataGridViewCell cell.
Color: Returns or sets the foreground color of a DataGridViewCell cell.
Object: Returns or sets the DataGridView cell display value corresponding to a cell value of Value or null.
Padding: Returns or sets the space between the edge of a DataGridViewCell and its content.
Int32: Returns or sets the number of rows that this cell can use to render its content.
Throws:
ArgumentOutOfRangeException The value is lower than 1 or greater than 100.
DataGridViewCellStyleScopes: Returns the scope (the type of object) that owns the cell style.
Object: Returns or sets an object that contains additional data related to the DataGridViewCellStyle.
DataGridViewTriState: Returns or sets whether textual content in a DataGridViewCell cell is wrapped to subsequent lines or truncated when it is too long to fit on a single line.
Creates an exact copy of this DataGridViewCellStyle.
Returns: DataGridViewCellStyle. A DataGridViewCellStyle that represents an exact copy of this cell style.
Releases all resources used by the DataGridViewCellStyle.