IProgressIndicationService.Begin(String, Int32, Int32, Int32) Method
In This Article
Initializes and displays a progress indicator.
Namespace: DevExpress.Services
Assembly: DevExpress.Data.v24.2.dll
NuGet Package: DevExpress.Data
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
display |
String | A string indicating what action is currently performed |
min |
Int32 | An integer specifying the minimum indicator value. |
max |
Int32 | An integer specifying the maximum indicator value. |
current |
Int32 | An integer specifying the current indicator value. |
#Remarks
If you register a custom service that implements the IProgressIndicationService interface, then, when loading a document from the stream, you can call the Begin method as follows:
MyProgressIndicationService.Begin("Loading from a stream...", (int)stream.Position, (int)(stream.Length - stream.Position), (int)(stream.Position));
See Also