Skip to main content
Version: 4.1

DataGridViewImageCell

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Displays an image in a DataGridViewCell cell.

public class DataGridViewImageCell : DataGridViewCell

Constructors​

Instance member DataGridViewImageCell()​

Initializes a new instance of DataGridViewImageCell.

Properties​

Instance member CellRenderer​

String: Returns the name of the cell renderer to use on the client side to render the cell. If it's null or empty it defaults to "Cell".

The name of the cell renderer can be a fully qualified class name (i.e. "wisej.web.datagrid.cellRenderer.Cell") or just the class name (i.e. "ImageCell") in which case the client library prepends "wisej.web.datagrid.cellRenderer".

Instance member FormattedValueType​

Type: Returns the type of the formatted value associated with the cell.

Value: A Type representing the type of the cell's formatted value.

Instance member ImageAlignment​

DataGridViewContentAlignment: Gets or sets the alignment of the image in the cell.

Value: A DataGridViewContentAlignment for this cell. The default is NotSet.

Instance member ImageLayout​

DataGridViewImageCellLayout: Gets or sets the layout of the image in the cell.

Value: A DataGridViewImageCellLayout for this cell. The default is NotSet.

Instance member ValueType​

Type: Returns the data type of the values in the cell.

Value: A Type representing the data type of the value in the cell.

Protected member ValueTypeConverter​

TypeConverter: Return the type converter to use to convert the value in the cell to the formatted value.

Methods​

Instance member GetCellDataValue(cellStyle, includeVisualProperties)​

Returns the data value of the cell. This is the value that is returned to the client in the data response stream.

ParameterTypeDescription
cellStyle by referenceDataGridViewCellStyleThe cell style in effect for the current cell, used to format the cell's value for the client rendering.
includeVisualPropertiesBooleantrue to include inherited visual properties; otherwise, false to include only formatting properties.

Returns: Object.

Implements​

NameDescription
IUserDataProvides access to the UserData and Tag properties associated to the component implementing this interface.
ICommandSourceDefines an object that can invoke a Command.