DataGrid.ScrollIntoView Method (Object)

.NET Framework (current version)
 

Scrolls the DataGrid vertically to display the row for the specified data item.

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

public void ScrollIntoView(
	object item
)

Parameters

item
Type: System.Object

The data item to bring into view.

Exception Condition
ArgumentNullException

item is null.

.NET Framework
Available since 4.0
Return to top
Show: