LEADTOOLS Windows Forms (Leadtools.WinForms assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
Total Property
See Also 
Leadtools.WinForms Namespace > RasterThumbnailBrowserLoadThumbnailEventArgs Class : Total Property



An integer value that represents the total number of items to load.

Syntax

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

Property Value

The total 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:
Property Value
ProgressBar.Minimum 0 - You only need to set this the first time
ProgressBar.Maximum Total - You only need to set this the first time
ProgressBar.Value Index

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also