DataGridViewImageColumn

Wisej.Web.DataGridViewImageColumn

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.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.

Name
Type
Description

cellTemplate

An existing DataGridViewImageCell to use as a template.

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:

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:

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:

ValueType

Type: Returns or sets the data type of the values in the column's cells.

Implements

Name
Description

All wisej components implement this interface.

Allows an object to serialize itself.

Last updated

Was this helpful?