HyperLinkField.InitializeCell Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Menginisialisasi sel dalam HyperLinkField objek.
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
DataControlFieldCell yang berisi teks atau kontrol HyperLinkField.
- cellType
- DataControlCellType
Salah DataControlCellType satu nilai.
- rowState
- DataControlRowState
Salah DataControlRowState satu nilai yang menentukan status baris yang berisi HyperLinkField.
- rowIndex
- Int32
Indeks baris dalam tabel.
Keterangan
Metode InitializeCell ini dipanggil oleh kontrol terikat data yang berisi HyperLinkField objek untuk menginisialisasi HyperLink kontrol dengan teks dan URL tautan.