The interface represents the progress of a
lengthy action.
BeginTracking | Initialize the progress animation using specified behavior and appearance |
EndTracking | Ends the progress animation. |
SetProgress | Notifies of the progress of a time consuming operation. |
Continue | Returns whether to continue normal operation execution. |
IAgProgressTrackCancel interface provides
methods and properties to control the progress animation in the
hosting environment. The progress tracking is useful when a User
Interface plugin needs to execute an action that may take some time
to finish so in order to provide a feedback to the hosting
environment, the plugin can use the progress tracking interface to
visually indicate the current progress and allow the user cancel
the action if it is taking too long.
The example shows how
to start the progress animation and set the current progress status
and percentage.
Set the current progress status | Copy Code | |
---|---|---|
|