Providing feedback and activity status to the user

You can provide temporal feedback and pending activity status indications to the user by using the ProgressBar class, PercentageBar class, and the ActivityIndicator class.

The ProgressBar class is a horizontal track that takes a percentage value to represent the current progress of an ongoing operation. When you set the progress property, the track fill changes to represent the status of the operation.

The PercentageBar class contains a label that displays the current percentage value of the track. A PercentageBar object is shown in the following illustration:

The ActivityIndicator class is an animation that you can enable or disable to indicate to the user that an activity is currently in progress. For example, you could create an ActivityIndicator instance to display during time-consuming or processor-intensive operations. An ActivityIndicator instance is shown in the following illustration.