Xamarin.Forms.ProgressBar Class
A Xamarin.Forms.View control that displays progress.

See Also: ProgressBar Members

Syntax

public class ProgressBar : View

Remarks

The following example shows the usage of a ProgressBar.

C# Example


//initial progress is 20%
var progressBar = new ProgressBar {
  Progress = .2,
};

// animate the progression to 80%, in 250ms
await progressBar.ProgressTo (.8, 250, Easing.Linear);

Debug.WriteLine ("Animation completed");

The Xamarin.Forms.ProgressBar class has the following XAML property:

PropertyValue
Progress

A decimal value between 0 and 1, inclusive, that specifies the fraction of the bar that is colored.

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0