ImageGear for .NET
Count Property (ImGearThumbnailCtl)
Example 




Gets the number of items within the Thumbnail control, and thus also the number of ImGearThumbnailItem objects available for Item method.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
<DescriptionAttribute()>
Public ReadOnly Property Count As Integer
'Usage
 
Dim instance As ImGearThumbnailCtl
Dim value As Integer
 
value = instance.Count
[BrowsableAttribute(false)]
[DescriptionAttribute()]
public int Count {get;}
[BrowsableAttribute(false)]
[DescriptionAttribute()]
public: __property int get_Count();
[BrowsableAttribute(false)]
[DescriptionAttribute()]
public:
property int Count {
   int get();
}

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

Reference

ImGearThumbnailCtl Class
ImGearThumbnailCtl Members

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback