System.Windows.Forms.DataGridViewLinkCell Class

Represents a cell that contains a link.

See Also: DataGridViewLinkCell Members

Syntax

public class DataGridViewLinkCell : DataGridViewCell

Remarks

The System.Windows.Forms.DataGridViewLinkCell class is a specialized type of System.Windows.Forms.DataGridViewCell used to display links.

The System.Windows.Forms.DataGridViewLinkColumn is the column type specialized to hold cells of this type. By default, the DataGridViewLinkColumn.CellTemplate is initialized to a new System.Windows.Forms.DataGridViewLinkCell. To pattern the cells within a column after an existing System.Windows.Forms.DataGridViewLinkCell, set the column's DataGridViewLinkColumn.CellTemplate property to the cell to use as a pattern.

The cell-related properties of the column are wrappers for the similarly-named properties of the template cell. Changing the property values of the template cell will affect only cells based on the template that are added after the change. Changing the cell-related property values of the column, however, will update the template cell and all other cells in the column, and refresh the column display if necessary.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0