Leadtools.WinForms Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
Index Property
See Also 
Leadtools.WinForms Namespace > RasterThumbnailBrowserLoadThumbnailEventArgs Class : Index Property




A zero-based integer that specifes the current position in number of items to load.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property Index As Integer
Visual Basic (Usage)Copy Code
Dim instance As RasterThumbnailBrowserLoadThumbnailEventArgs
Dim value As Integer
 
value = instance.Index
C# 
public int Index {get;}
Managed Extensions for C++ 
public: __property int get_Index();
C++/CLI 
public:
property int Index {
   int get();
}

Return Value

The zero-based integer that specifes the current position in number of items to load.

Example

For an example, refer to RasterThumbnailBrowser.LoadThumbnail.

Remarks

You can use the Index and the Total properties to update a progress bar for the load process. You need to setup the progress bar with the following:
PropertyValue
ProgressBar.Minimum0 - You only need to set this the first time
ProgressBar.MaximumTotal - You only need to set this the first time
ProgressBar.ValueIndex

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also