DataGridViewLinkColumn

Wisej.Web.DataGridViewLinkColumn

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

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

public class DataGridViewLinkColumn : DataGridViewColumn

Constructors

DataGridViewLinkColumn()

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

DataGridViewLinkColumn(cellTemplate)

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

Name
Type
Description

cellTemplate

An existing DataGridViewLinkCell to use as a template.

Properties

CellTemplate

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

Throws:

LinkBehavior

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

This value is inherited by all the cells in the column that do not specify a value for this property.

LinkColor

Color: Returns or sets the color used when displaying a normal link. (Default: Color [Empty])

This value is inherited by all the cells in the column that do not specify a value for this property.

Text

String: Gets or sets the default text displayed on the button cell when UseColumnTextForButtonValue is true. (Default: null)

Throws:

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)

This value is inherited by all the cells in the column that do not specify a value for this property.

Methods

OnWebRender(config)

Renders the client component.

Parameter
Type
Description

config

Dynamic configuration object.

Implements

Name
Description

Provides access to the UserData and Tag properties associated to the component implementing this interface.

All wisej components implement this interface.

Allows an object to serialize itself.

Last updated

Was this helpful?