States
RadCircularProgressBar
supports two types of operation modes. Each of these modes is aimed at different scenarios.
Determinate State
This mode of operation is intended for scenarios where the RadCircularProgressBar's progress can be measured precisely. This state is the default one.
Set the
IsIndeterminate
property of RadCircularProgressBar to False to use this state if it is not the active one.
Setting the determinate state
<telerik:RadCircularProgressBar Name="radCircularProgressBar" Value="0.75" IsIndeterminate="False"/>
Setting the determinate state in code
RadCircularProgressBar radCircularProgressBar = new RadCircularProgressBar();
radCircularProgressBar.Value = 0.75;
radCircularProgressBar.IsIndeterminate = false;
Dim radCircularProgressBar As RadCircularProgressBar = New RadCircularProgressBar()
radCircularProgressBar.Value = 0.75
radCircularProgressBar.IsIndeterminate = False
Determinate state
Indeterminate State
This state is aimed at scenarios where the operation progress cannot be precisely measured. When this mode is active, a circular animation of the progress will be played. To active this mode, set the IsIndeterminate
property of RadCircularProgressBar to True.
Setting the indeterminate state
<telerik:RadCircularProgressBar Name="radCircularProgressBar" IsIndeterminate="True"/>
Setting the indeterminate state in code
RadCircularProgressBar radCircularProgressBar = new RadCircularProgressBar();
radCircularProgressBar.IsIndeterminate = true;
Dim radCircularProgressBar As RadCircularProgressBar = New RadCircularProgressBar()
radCircularProgressBar.IsIndeterminate = True
Indeterminate state
IndeterminateIndicatorRatio
RadCircularProgressBar allows you to modify the ratio of the progress indicator, when the control is in indeterminate state. To do so, set the IndeterminateIndicatorRatio
property. The accepted values are in the ranges between 0 and 1. The default value of this property is 0.125.
Setting the IndeterminateIndicatorRatio
<telerik:RadCircularProgressBar Name="circularProgressBar" IsIndeterminate="True" IndeterminateIndicatorRatio="0.75"/>
Setting the IndeterminateIndicatorRatio in code
RadCircularProgressBar radCircularProgressBar = new RadCircularProgressBar();
radCircularProgressBar.IsIndeterminate = true;
radCircularProgressBar.IndeterminateIndicatorRatio = 0.75;
Dim radCircularProgressBar As RadCircularProgressBar = New RadCircularProgressBar()
radCircularProgressBar.IsIndeterminate = True
radCircularProgressBar.IndeterminateIndicatorRatio = 0.75