This topic provides an overview of displaying text on the activity indicator with animation enabled or started.
The following topic is a prerequisite to understanding this topic:
This topic contains the following sections:
Prior to the product release of 13.1, the WinActivityIndicator™ did not display text while the activity indicator was in progress only displaying the animation indicating the ongoing activity. The following screenshot captures the started and stopped animation with the displayed text “ Please wait while processing… ” and “stopped”.
Animation started.
Animation stopped.
The WinActivityIndicator control exposes two properties, Text and AnimationEnabledText. The Text
property displays the text when animation is not in progress while the AnimationEnabledText
property displays the text when animation is in progress.
The following scenarios cover the text resolution process:
When AnimationEnabled = True
The control displays the AnimationEnabledText
property’s value, if it is not null or empty.
The control displays the Text
property’s value if the AnimationEnabledText
property is null or empty.
When AnimationEnabled = False
The control displays the Text
property’s value.
You can set the properties in code or via the Visual Studio design view.
In C#:
ultraActivityIndicator1.Text = "Stopped";
ultraActivityIndicator1.AnimationEnabledText = "Please wait while processing...";
In Visual Basic:
ultraActivityIndicator1.Text = "Stopped"
ultraActivityIndicator1.AnimationEnabledText = "Please wait while processing..."
The following topic provides additional information related to this topic.