DataGridCellsPanel.BringIndexIntoView Method

.NET Framework 4.6 and 4.5

Scrolls the viewport to the item at the specified index.

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

'Declaration
Protected Friend Overrides Sub BringIndexIntoView ( _
	index As Integer _
)

Parameters

index
Type: System.Int32

The index of the item that should become visible.

ExceptionCondition
ArgumentOutOfRangeException

The index is out of range.

Notes to Inheritors

When overriding BringIndexIntoView in a derived class, make sure that you call the base class’s BringIndexIntoView method; otherwise, important functionality will be disabled.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft