DataGrid.NavigateBack 方法

定义

向后定位到网格中以前显示的表。Navigates back to the table previously displayed in the grid.

public:
 void NavigateBack();
public void NavigateBack ();
member this.NavigateBack : unit -> unit
Public Sub NavigateBack ()

示例

下面的代码示例演示如何使用此成员。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
    

注解

如果网格没有父行,则不会发生任何更改。If the grid has no parent rows, no change occurs.

适用于