DataGrid.ScrollIntoView Method (Object)

.NET Framework (current version)
 
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.

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

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

Public Sub ScrollIntoView (
	item As Object
)

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: