Version

BringDataItemIntoView Method

Scrolls the Record associated with the specified data item into view.
Syntax
'Declaration
 
Public Sub BringDataItemIntoView( _
   ByVal dataItem As Object, _
   ByVal recursive As Boolean _
) 
public void BringDataItemIntoView( 
   object dataItem,
   bool recursive
)

Parameters

dataItem
The data item whose associated record should be scrolled into view.
recursive
True to recursively check all child DataRecords
Remarks

The data item must be an object from the underlying DataSource.

Note: This may be an expensive operation depending on the size and structure of the data. The logic first checks all of the DataRecords at the root level and if a match is not found then checks all of the descendant records.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also