Skip to main content
Version: 4.1

DataGridViewImageColumn

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Represents a DataGridView column that contains a collection of DataGridViewImageCell cells.

public class DataGridViewImageColumn : DataGridViewColumn

Constructors​

Instance member DataGridViewImageColumn()​

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

Instance member DataGridViewImageColumn(cellTemplate)​

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

NameTypeDescription
cellTemplateDataGridViewImageCellAn existing DataGridViewImageCell to use as a template.

Properties​

Instance member CellImage​

Image: Gets or sets the image displayed in the cells that have a null value. (Default: null)

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.

Instance member CellImageAlignment​

DataGridViewContentAlignment: Gets or sets the image alignment in the cells for the column. (Default: NotSet)

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:

Instance member CellImageLayout​

DataGridViewImageCellLayout: Gets or sets the image layout in the cells for this column. (Default: NotSet)

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:

Instance member CellImageSource​

String: Gets or sets the image URL or name displayed in cells that have a null value. (Default: null)

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.

Instance member CellTemplate​

DataGridViewCell: Returns or sets the template used to model cell appearance.

Throws:

Methods​

Protected member OnWebRender(config)​

Renders the client component.

ParameterTypeDescription
configObjectDynamic configuration object.

Implements​

NameDescription
IUserDataProvides access to the UserData and Tag properties associated to the component implementing this interface.
IWisejComponentAll wisej components implement this interface.
IWisejSerializableAllows an object to serialize itself.