Skip to main content
Version: 4.1

DataGridViewLinkCell

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Displays a link widget in a DataGridViewCell cell.

public class DataGridViewLinkCell : DataGridViewCell

Constructors​

Instance member DataGridViewLinkCell()​

Initializes a new instance of DataGridViewLinkCell.

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 LinkBehavior​

LinkBehavior: Returns or sets a value that represents the behavior of the link cell. (Default: SystemDefault)

Value: One of the LinkBehavior values. The default is LinkBehavior.SystemDefault.

Instance member LinkColor​

Color: Returns or sets the color used when displaying a normal link.

Value: A Color that represents the color used to displaying a normal link.

Instance member UseColumnTextForLinkValue​

Boolean: Gets or sets a value indicating if the link in the cell uses the owning column's text instead of the value of the cell. (Default: False)

Value: true if the link in the cell uses the owning column's text; otherwise, false. The default is false.

Instance member ValueType​

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

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

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.