Version

GetItemAtScrollIndex Method (SparseArray)

Returns the item at the specified scroll index. This method returns null if the scroll index is out of bounds.
Syntax
'Declaration
 
Protected Function GetItemAtScrollIndex( _
   ByVal scrollIndex As Integer, _
   ByVal createItemCallback As ICreateItemCallback _
) As Object
protected object GetItemAtScrollIndex( 
   int scrollIndex,
   ICreateItemCallback createItemCallback
)

Parameters

scrollIndex
Visible index at which to get the item.
createItemCallback
Optional call back to create the item at the specified scroll index if none exists at that scroll index.

Return Value

The item at the specified scroll index, or null if the scroll index is out of bounds.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, 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