ImageGear for .NET
ReloadItem Method
See Also  Example Send Feedback
ImageGear21.Windows.Forms Assembly > ImageGear.Windows.Forms.Thumbnails Namespace > ImGearThumbnailCtl Class : ReloadItem Method




item
Item to be reloaded.

Glossary Item Box

Reloads thumbnail picture in the specified thumbnail item.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

item
Item to be reloaded.

Example

C#Copy Code
// Reload all selected thumbnail items.
for (int index = 0; index < igThumbnailCtl.Count; index++)
{
    ImGearThumbnailItem igThumbnailItem = igThumbnailCtl.Item(index);
    if (igThumbnailItem.Selected)
    {
        igThumbnailCtl.ReloadItem(igThumbnailItem);
    }
}
Visual BasicCopy Code
' 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

©2013. Accusoft Corporation. All Rights Reserved.