Edit

Bagikan melalui


BoundColumn.InitializeCell(TableCell, Int32, ListItemType) Method

Definition

Resets the specified cell in the BoundColumn to its initial state.

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.

Remarks

The InitializeCell method resets the specified cell in the BoundColumn to its initial state.

Applies to

See also