HyperLinkField.InitializeCell メソッド

定義

HyperLinkField オブジェクト内のセルを初期化します。

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

HyperLinkFieldのテキストまたはコントロールを含むDataControlFieldCell

cellType
DataControlCellType

DataControlCellType値の 1 つ。

rowState
DataControlRowState

HyperLinkFieldを含む行の状態を指定するDataControlRowState値の 1 つ。

rowIndex
Int32

テーブル内の行のインデックス。

注釈

InitializeCell メソッドは、リンクのテキストと URL を使用してHyperLink コントロールを初期化するHyperLinkField オブジェクトを含むデータ バインド コントロールによって呼び出されます。

適用対象