編輯

共用方式為


DynamicField.InitializeCell Method

Definition

Adds text or controls to the specified cell.

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)

Parameters

cell
DataControlFieldCell

The object that contains the text or controls of the DynamicField object.

cellType
DataControlCellType

One of the enumeration values that specifies the function of the cell object.

rowState
DataControlRowState

One of the enumeration values that specifies the row state.

rowIndex
Int32

The index of the row that the cell object is contained in.

Applies to

See also