DataGridViewImageColumn
Wisej.Web.DataGridViewImageColumn
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Represents a DataGridView column that contains a collection of DataGridViewImageCell cells.
public class DataGridViewImageColumn : DataGridViewColumn
Constructors
DataGridViewImageColumn()

Initializes a new instance of the DataGridViewImageColumn class to the default state.
DataGridViewImageColumn(cellTemplate)

Initializes a new instance of the DataGridViewImageColumn class to the default state.
Properties
CellImage

Image: Gets or sets the image displayed in the cells that have a null value.
This value is inherited by all the cells in the column. However, the value set in the specific cell overrides the value from the owner column.
CellImageAlignment

DataGridViewContentAlignment: Gets or sets the image alignment in the cells for the column.
This value is inherited by all the cells in the column. However, the value set in the specific cell overrides the value from the owner column. Throws:
InvalidOperationException The value of the CellTemplate property is null.
CellImageLayout

DataGridViewImageCellLayout: Gets or sets the image layout in the cells for this column.
This value is inherited by all the cells in the column. However, the value set in the specific cell overrides the value from the owner column. Throws:
InvalidOperationException The value of the CellTemplate property is null.
CellImageSource

String: Gets or sets the image URL or name displayed in cells that have a null value.
This value is inherited by all the cells in the column. However, the value set in the specific cell overrides the value from the owner column.
CellTemplate

DataGridViewCell: Returns or sets the template used to model cell appearance.
Throws:
InvalidOperationException The type is null.
InvalidCastException The set type is not compatible with type DataGridViewImageCell.
ValueType

Type: Returns or sets the data type of the values in the column's cells.
Implements
All wisej components implement this interface.
Allows an object to serialize itself.
Last updated
Was this helpful?