Version

GetItemContainingScrollIndex Method

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

Parameters

scrollIndex
Scroll index at which to get the item. It will be modified to be the offset into the item's descendants.
createItemCallback
Optional call back to create the item at the specified scroll index if none exists at that scroll index.
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