IProgressIndicationService.Begin(String, Int32, Int32, Int32) Method
Initializes and displays a progress indicator.
Namespace: DevExpress.Services
Assembly: DevExpress.Data.v22.2.dll
NuGet Package: DevExpress.Data
Declaration
Parameters
Name | Type | Description |
---|---|---|
displayName | String | A string indicating what action is currently performed |
minProgress | Int32 | An integer specifying the minimum indicator value. |
maxProgress | Int32 | An integer specifying the maximum indicator value. |
currentProgress | 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));
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the Begin(String, Int32, Int32, Int32) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.