DataGrid.BackButtonClick イベント
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)

Public Event BackButtonClick As EventHandler
public event EventHandler BackButtonClick
public: event EventHandler^ BackButtonClick { void add (EventHandler^ value); void remove (EventHandler^ value); }
/** @event */ public void add_BackButtonClick (EventHandler value) /** @event */ public void remove_BackButtonClick (EventHandler value)


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

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


Weblioに収録されているすべての辞書からDataGrid.BackButtonClick イベントを検索する場合は、下記のリンクをクリックしてください。

- DataGrid.BackButtonClick イベントのページへのリンク