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

定义

将对象中的 ButtonColumn 单元格重置为其初始状态。

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 表示要重置的单元格。

columnIndex
Int32

单元格所在的列号。

itemType
ListItemType

其中一个 ListItemType 值。

注解

该方法 InitializeCell 将对象中的 ButtonColumn 指定单元格重置为其初始状态。

适用于

另请参阅