CommandField.InitializeCell メソッド
アセンブリ: System.Web (system.web.dll 内)

Public Overrides Sub InitializeCell ( _ cell As DataControlFieldCell, _ cellType As DataControlCellType, _ rowState As DataControlRowState, _ rowIndex As Integer _ )
Dim instance As CommandField Dim cell As DataControlFieldCell Dim cellType As DataControlCellType Dim rowState As DataControlRowState Dim rowIndex As Integer instance.InitializeCell(cell, cellType, rowState, rowIndex)
public override void InitializeCell ( DataControlFieldCell cell, DataControlCellType cellType, DataControlRowState rowState, int rowIndex )
public: virtual void InitializeCell ( DataControlFieldCell^ cell, DataControlCellType cellType, DataControlRowState rowState, int rowIndex ) override
public void InitializeCell ( DataControlFieldCell cell, DataControlCellType cellType, DataControlRowState rowState, int rowIndex )
public override function InitializeCell ( cell : DataControlFieldCell, cellType : DataControlCellType, rowState : DataControlRowState, rowIndex : int )
- cellType
DataControlCellType 値の 1 つ。
- rowState
DataControlRowState 値の 1 つ。

InitializeCell メソッドは DataControlField 派生型によって実装され、テーブルを使用してユーザー インターフェイス (UI: User Interface) を表示するデータ コントロールの TableCell オブジェクトにテキストとコントロールを追加します。これらのデータ コントロールは、コントロールの CreateChildControls メソッドが呼び出されると、完全なテーブル構造を行ごとに作成します。InitializeCell メソッドは、DetailsView や GridView などのデータ コントロールの InitializeRow メソッドにより呼び出されます。
このメソッドは、TableCell オブジェクトを使用するカスタム データ バインド コントロールを記述して、テーブル構造のセルをデータまたはコントロールで初期化するときに呼び出します。このメソッドは、CommandField 派生クラスを記述するときに実装します。

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からCommandField.InitializeCell メソッドを検索する場合は、下記のリンクをクリックしてください。

- CommandField.InitializeCell メソッドのページへのリンク