Skip to main content
A newer version of this page is available. .

IProgressIndicationService.Begin(String, Int32, Int32, Int32) Method

Initializes and displays a progress indicator.

Namespace: DevExpress.Services

Assembly: DevExpress.Data.v18.2.dll

Declaration

void Begin(
    string displayName,
    int minProgress,
    int maxProgress,
    int currentProgress
)

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));

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.

See Also