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

定义

ButtonColumn 对象中的单元格重置为其初始状态。Resets a cell in the ButtonColumn object 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)

参数

cell
TableCell

一个 TableCell,它表示要重置的单元格。A TableCell that represents the cell to reset.

columnIndex
Int32

单元格所在列的列号。The column number where the cell is located.

itemType
ListItemType

ListItemType 值之一。One of the ListItemType values.

注解

InitializeCell方法将对象中的指定单元格重置 ButtonColumn 为它的初始状态。The InitializeCell method resets the specified cell in the ButtonColumn object to its initial state.

适用于

另请参阅