DataGridViewLinkCell
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.1.0.0)
Displays a link widget in a DataGridViewCell cell.
- C#
- VB.NET
public class DataGridViewLinkCell : DataGridViewCell
Public Class DataGridViewLinkCell
Inherits DataGridViewCell
Constructors
DataGridViewLinkCell()
Initializes a new instance of DataGridViewLinkCell.
Properties
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".
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.
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.
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.
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
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.
| Parameter | Type | Description |
|---|---|---|
| cellStyle | DataGridViewCellStyle | The cell style in effect for the current cell, used to format the cell's value for the client rendering. |
| includeVisualProperties | Boolean | true to include inherited visual properties; otherwise, false to include only formatting properties. |
Returns: Object.
Implements
| Name | Description |
|---|---|
| IUserData | Provides access to the UserData and Tag properties associated to the component implementing this interface. |
| ICommandSource | Defines an object that can invoke a Command. |