DynamicField.InitializeCell Metode

Definisi

Menambahkan teks atau kontrol ke sel yang ditentukan.

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)

Parameter

cell
DataControlFieldCell

Objek yang berisi teks atau kontrol DynamicField objek.

cellType
DataControlCellType

Salah satu nilai enumerasi yang menentukan fungsi cell objek.

rowState
DataControlRowState

Salah satu nilai enumerasi yang menentukan status baris.

rowIndex
Int32

Indeks baris tempat cell objek berada.

Berlaku untuk

Lihat juga