Share via


HyperLinkColumn.InitializeCell(TableCell, Int32, ListItemType) 方法

定義

使用內含的超連結,初始化表示此資料行的儲存格。

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)

參數

cell
TableCell

要初始化的儲存格。

columnIndex
Int32

包含儲存格的資料列之索引。

itemType
ListItemType

儲存格屬於其中一部分之項目的型別。

備註

HyperLinks 會針對 DataGrid 中的所有專案建立,但頁首和頁尾專案除外。

適用於