ImageGear .NET v25.2 - Updated
ReloadItem Method (ImGearThumbnailCtl)
Example 




ImageGear.Windows.Forms Assembly > ImageGear.Windows.Forms.Thumbnails Namespace > ImGearThumbnailCtl Class : ReloadItem Method
Item to be reloaded.
Reloads thumbnail picture in the specified thumbnail item.
Syntax
'Declaration
 
<DescriptionAttribute()>
Public Sub ReloadItem( _
   ByVal item As ImGearThumbnailItem _
) 
'Usage
 
Dim instance As ImGearThumbnailCtl
Dim item As ImGearThumbnailItem
 
instance.ReloadItem(item)
[Description()]
public void ReloadItem( 
   ImGearThumbnailItem item
)
[Description()]
public: void ReloadItem( 
   ImGearThumbnailItem* item
) 
[Description()]
public:
void ReloadItem( 
   ImGearThumbnailItem^ item
) 

Parameters

item
Item to be reloaded.
Example
// Reload all selected thumbnail items.
for (int index = 0; index < igThumbnailCtl.Count; index++)
{
    ImGearThumbnailItem igThumbnailItem = igThumbnailCtl.Item(index);
    if (igThumbnailItem.Selected)
    {
        igThumbnailCtl.ReloadItem(igThumbnailItem);
    }
}
' Reload all selected thumbnail items.
For index As Integer = 0 To igThumbnailCtl.Count - 1
    Dim igThumbnailItem As ImGearThumbnailItem = igThumbnailCtl.Item(index)
    If igThumbnailItem.Selected Then
        igThumbnailCtl.ReloadItem(igThumbnailItem)
    End If
Next
See Also

Reference

ImGearThumbnailCtl Class
ImGearThumbnailCtl Members
ImGearThumbnailItem Class

Is this page helpful?
Yes No
Thanks for your feedback.