ButtonField.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 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 )
- rowState
DataControlRowState 値の 1 つ。
- rowIndex
行の 0 から始まるインデックス。

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

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に収録されているすべての辞書からButtonField.InitializeCell メソッドを検索する場合は、下記のリンクをクリックしてください。

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