DataGrid.NavigateBack Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: