DataGrid.NavigateBack Method ()

 

Navigates back to the table previously displayed in the grid.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public void NavigateBack()

If the grid has no parent rows, no change occurs.

The following code example demonstrates the use of this member.

Private Sub GoBack(ByVal myGrid As DataGrid)
    ' Insert code to see if a Relationship exists. If not then NavigateBack.
    myGrid.NavigateBack
 End Sub

.NET Framework
Available since 1.1
Return to top
Show: