ButtonField.InitializeCell メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > ButtonField.InitializeCell メソッドの意味・解説 

ButtonField.InitializeCell メソッド

メモ : このメソッドは、.NET Framework version 2.0新しく追加されたものです。

指定されDataControlFieldCell オブジェクトを、指定された行の状態に初期化します。

名前空間: System.Web.UI.WebControls
アセンブリ: System.Web (system.web.dll 内)
構文構文

Public Overrides Sub InitializeCell
 ( _
    cell As DataControlFieldCell, _
    cellType As DataControlCellType, _
    rowState As DataControlRowState, _
    rowIndex As Integer _
)
Dim instance As ButtonField
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
)

パラメータ

cell

初期化する DataControlFieldCell。

cellType

行の型 (ヘッダーフッター、またはデータ) を示す DataControlCellType 値。

rowState

DataControlRowState 値の 1 つ

rowIndex

行の 0 から始まるインデックス

解説解説

InitializeCell メソッドは、ButtonType プロパティ指定されている型のボタン作成し、それを DataControlFieldCell オブジェクトControls コレクション追加します。さらに、Button コントロールの CommandArgument プロパティrowIndex設定します

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ButtonField クラス
ButtonField メンバ
System.Web.UI.WebControls 名前空間
InitializeCell



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

ButtonField.InitializeCell メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



ButtonField.InitializeCell メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS