Gets the number of items within the Thumbnail control, and thus also the number of
ImGearThumbnailItem objects available for Item method.
Syntax
Property Value
Integer value.
Example
if (igThumbnailCtl.Count > 0)
{
for (int index = 0; index < igThumbnailCtl.Count; index++)
{
ImGearThumbnailItem igThumbnailItem = igThumbnailCtl.Item(index);
// Perform some operations on each item.
}
}
If igThumbnailCtl.Count > 0 Then
For index As Integer = 0 To igThumbnailCtl.Count - 1
' Perform some operations on each item.
Dim igThumbnailItem As ImGearThumbnailItem = igThumbnailCtl.Item(index)
Next
End If
See Also