แก้ไข

แชร์ผ่าน


TemplateColumn.InitializeCell(TableCell, Int32, ListItemType) Method

Definition

Calls a TableCell object's base class to initialize the instance and then applies a ListItemType to the cell.

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

A TableCell object that represents the cell to reset.

columnIndex
Int32

The column number where the cell is located.

itemType
ListItemType

One of the ListItemType values.

Applies to