<ig:XamBusyIndicator Name="BusyIndicator" IsBusy="True" IsIndeterminate="True">
<ig:XamBusyIndicator.Animation>
<ig:ProgressRingBusyAnimation AnimationTotalDuration="0:0:10" />
</ig:XamBusyIndicator.Animation>
</ig:XamBusyIndicator>
This topic explains how to configure the xamBusyIndicator™ control animation duration.
The following topics are prerequisites to understanding this topic:
This topic contains the following sections:
Use the BusyAnimation AnimationTotalDuration property to configure the total duration of the xamBusyIndicator animation. In this way, the speed of the animation is controlled.
By default, the AnimationTotalDuration
property initial value is 3 seconds.
The following table maps the desired configuration to the property settings that manage it.
The example below uses the following settings:
Following is the code that implements this example.
In XAML:
<ig:XamBusyIndicator Name="BusyIndicator" IsBusy="True" IsIndeterminate="True">
<ig:XamBusyIndicator.Animation>
<ig:ProgressRingBusyAnimation AnimationTotalDuration="0:0:10" />
</ig:XamBusyIndicator.Animation>
</ig:XamBusyIndicator>
In C#:
BusyIndicator.Animation = new ProgressRingBusyAnimation();
BusyIndicator.Animation.AnimationTotalDuration = new Duration(TimeSpan.FromSeconds(10));
In Visual Basic:
BusyIndicator.Animation = New ProgressRingBusyAnimation()
BusyIndicator.Animation.AnimationTotalDuration = New Duration(TimeSpan.FromSeconds(10))
The following topics provide additional information related to this topic.