Version

GetScrollIndexOf(ISparseArrayMultiItem,Boolean) Method

Gets the scroll index of the specified item.
Syntax
'Declaration
 
Protected Overloads Function GetScrollIndexOf( _
   ByVal item As ISparseArrayMultiItem, _
   ByVal ignoreItemHiddenState As Boolean _
) As Integer
protected int GetScrollIndexOf( 
   ISparseArrayMultiItem item,
   bool ignoreItemHiddenState
)

Parameters

item
The item whose scroll index should be returned.
ignoreItemHiddenState
If false then returns -1 if the item is hidden. If true, returns the visible index of item as it would have been if it were visible. This parameter doesn't have any effect on the returned value if the item is not hidden.

Return Value

The scroll index of the specified item.
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