Eyeshot 10 WPF API Reference
NextItem<T> Method

WPF Assembly > devDept.Geometry Namespace > Utility Class : NextItem<T> Method
The item type
The list
The item index
Return the cyclic next item in a list.
Syntax
'Declaration
 
Public Shared Function NextItem(Of T)( _
   ByVal list As IList(Of T), _
   ByVal itemIndex As Integer _
) As T
public static T NextItem<T>( 
   IList<T> list,
   int itemIndex
)

Parameters

list
The list
itemIndex
The item index

Type Parameters

T
The item type

Return Value

The next item or the first item of the list in the case that itemIndex is equal to the list length less one.
See Also

Reference

Utility Class
Utility Members