DynamicField.InitializeCell 方法

定义

将文本或控件添加到指定的单元格。

public:
 override void InitializeCell(System::Web::UI::WebControls::DataControlFieldCell ^ cell, System::Web::UI::WebControls::DataControlCellType cellType, System::Web::UI::WebControls::DataControlRowState rowState, int rowIndex);
public override void InitializeCell(System.Web.UI.WebControls.DataControlFieldCell cell, System.Web.UI.WebControls.DataControlCellType cellType, System.Web.UI.WebControls.DataControlRowState rowState, int rowIndex);
override this.InitializeCell : System.Web.UI.WebControls.DataControlFieldCell * System.Web.UI.WebControls.DataControlCellType * System.Web.UI.WebControls.DataControlRowState * int -> unit
Public Overrides Sub InitializeCell (cell As DataControlFieldCell, cellType As DataControlCellType, rowState As DataControlRowState, rowIndex As Integer)

参数

cell
DataControlFieldCell

包含对象的文本或控件 DynamicField 的对象。

cellType
DataControlCellType

指定对象的函数的 cell 枚举值之一。

rowState
DataControlRowState

指定行状态的枚举值之一。

rowIndex
Int32

对象包含的行 cell 的索引。

适用于

另请参阅