DataGrid.ScrollIntoView Method

Scrolls the DataGrid vertically to display the row for the specified data item and scrolls the DataGrid horizontally to display the specified column.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.Data (in System.Windows.Controls.Data.dll)

public void ScrollIntoView(
	Object item,
	DataGridColumn column
)

Parameters

item
Type: System.Object
The data item (row) to scroll to.
column
Type: System.Windows.Controls.DataGridColumn
The column to scroll to.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: