HyperLinkColumn.InitializeCell(TableCell, Int32, ListItemType) Method

Definition

Initializes the cell representing this column with the contained hyperlink.

public:
 override void InitializeCell(System::Web::UI::WebControls::TableCell ^ cell, int columnIndex, System::Web::UI::WebControls::ListItemType itemType);
public override void InitializeCell (System.Web.UI.WebControls.TableCell cell, int columnIndex, System.Web.UI.WebControls.ListItemType itemType);
override this.InitializeCell : System.Web.UI.WebControls.TableCell * int * System.Web.UI.WebControls.ListItemType -> unit
Public Overrides Sub InitializeCell (cell As TableCell, columnIndex As Integer, itemType As ListItemType)

Parameters

cell
TableCell

The cell to be initialized.

columnIndex
Int32

The index of the column that contains the cell.

itemType
ListItemType

The type of item that the cell is part of.

Remarks

HyperLinks are created for all items in the DataGrid except the Header and Footer items.

Applies to