DataGrid.BackButtonClick イベントとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > DataGrid.BackButtonClick イベントの意味・解説 

DataGrid.BackButtonClick イベント

テーブルBack ボタンクリックされると発生します

名前空間: System.Windows.Forms
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
構文構文

Dim instance As DataGrid
Dim handler As EventHandler

AddHandler instance.BackButtonClick, handler
public event EventHandler BackButtonClick
/** @event */
public void add_BackButtonClick (EventHandler
 value)

/** @event */
public void remove_BackButtonClick (EventHandler
 value)
JScript では、イベント使用できますが、新規に宣言することはできません。
解説解説
使用例使用例

BackButtonClick イベントイベント ハンドラ追加するコード例次に示します

' Create an instance of the 'BackButtonClick' EventHandler.
Private Sub CallBackButtonClick()
   AddHandler myDataGrid.BackButtonClick, AddressOf
 Grid_BackClick
End Sub 'CallBackButtonClick


' Raise the event when 'BackButton' on child table is clicked.
 Private Sub Grid_BackClick(ByVal
 sender As Object, ByVal
 e As EventArgs)
     ' String variable used to show message.
     Dim myString As String
 = "BackButtonClick event raised, showing parent table"
     ' Show information about Back button.
     MessageBox.Show(myString, "Back button information")
 End Sub 'Grid_BackClick

// Create an instance of the 'BackButtonClick' EventHandler.
private void CallBackButtonClick()
{
   myDataGrid.BackButtonClick += new EventHandler(Grid_BackClick);
}

// Raise the event when 'BackButton' on child table is clicked.
private void Grid_BackClick(object sender,
 EventArgs e)
{
   // String variable used to show message.
   string myString = "BackButtonClick event raised, showing
 parent table";
   // Show information about Back button.
   MessageBox.Show(myString, "Back button information");
}
   // Create an instance of the 'BackButtonClick' EventHandler.
private:
   void CallBackButtonClick()
   {
      myDataGrid->BackButtonClick += gcnew EventHandler( this,
 &MyDataGrid::Grid_BackClick );
   }

   // Raise the event when 'BackButton' on child table is clicked.
   void Grid_BackClick( Object^ /*sender*/, EventArgs^ /*e*/ )
   {
      // String variable used to show message.
      String^ myString = "BackButtonClick event raised, showing parent table";

      // Show information about Back button.
      MessageBox::Show( myString, "Back button information" );
   }
// Create an instance of the 'BackButtonClick' EventHandler.
private void CallBackButtonClick()
{
    myDataGrid.add_BackButtonClick(new EventHandler(GridBackClick));
} //CallBackButtonClick

// Raise the event when 'BackButton' on child table is clicked.
protected void GridBackClick(Object sender,
 EventArgs e)
{
    // String variable used to show message.
    String myString = "BackButtonClick event raised, showing parent table";

    // Show information about Back button.
    MessageBox.Show(myString, "Back button information");
} //GridBackClick
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照


このページでは「.NET Framework クラス ライブラリ リファレンス」からDataGrid.BackButtonClick イベントを検索した結果を表示しています。
Weblioに収録されているすべての辞書からDataGrid.BackButtonClick イベントを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からDataGrid.BackButtonClick イベント を検索

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

辞書ショートカット

すべての辞書の索引

DataGrid.BackButtonClick イベントのお隣キーワード
検索ランキング

   

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



DataGrid.BackButtonClick イベントのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS