Getting Started with Xamarin StepProgressBar (Step Progress Bar)

18 Oct 20235 minutes to read

This section explains the steps required to work with the StepProgressBar control for Xamarin.Forms.

Assembly deployment

After installing Essential Studio for Xamarin, you can find all the required assemblies in the installation folders, {Syncfusion Essential Studio Installed location} \Essential Studio\{Version #}\Xamarin\lib.

E.g.: C:\Program Files (x86) \Syncfusion\Essential Studio\\Xamarin\lib


Assemblies can be found in unzipped package location(Documents/Syncfusion/{Version #}/Xamarin/lib) in Mac.

Adding SfStepProgressBar reference

You can add SfStepProgressBar reference using one of the following methods:

Method 1: Adding SfStepProgressBar reference from

Syncfusion Xamarin components are available in To add SfStepProgressBar to your project, open the NuGet package manager in Visual Studio, search for Syncfusion.Xamarin.SfProgressBar, and then install it.

Adding SfStepProgressBar reference from NuGet


Install the same version of SfProgressBar NuGet in all the projects.

Method 2: Adding SfStepProgressBar reference from toolbox

Syncfusion also provides Xamarin Toolbox. Using this toolbox, you can drag the StepProgressBar control to the XAML page. It will automatically install the required NuGet packages and add the namespace to the page. To install Syncfusion Xamarin Toolbox, refer to Toolbox.

Method 3: Adding SfStepProgressBar assemblies manually from the installed location

If you prefer to manually reference the assemblies instead referencing from the NuGet, add the following assemblies in respective projects.

Location: {Installed location}/{version}/Xamarin/lib

PCL Syncfusion.SfProgressBar.XForms.dll
Android Syncfusion.SfProgressBar.XForms.Android.dll
iOS Syncfusion.SfProgressBar.XForms.iOS.dll
UWP Syncfusion.SfProgressBar.XForms.UWP.dll


To learn more about obtaining Syncfusion components, refer to Mac and Windows.


Starting with v16.2.0.x, if you reference Syncfusion assemblies from the trial setup or from the NuGet feed, you also have to include a license key in your projects. Refer the Syncfusion license key to learn about registering Syncfusion license key in your Xamarin application to use Syncfusion components.

Launching the application on each platform with StepProgressBar

To use the StepProgressBar in an application, each platform requires some additional configurations. The configurations vary from platform to platform and is discussed in the following sections:


If you are adding the references from toolbox, this step is not required.


To launch the StepProgressBar in iOS, call the ‘SfLinearProgressBarRenderer.Init()’ and ‘SfBorderRenderer.Init()’ in the FinishedLaunching overridden method of the AppDelegate class after the Xamarin.Forms framework has been initialized and before the LoadApplication is called as demonstrated in the following code sample.

  • C#
  • public override bool FinishedLaunching(UIApplication app, NSDictionary options) 
        // Add the below line for using SfLinearProgressBar.
        // Add the below line for using SfBorder.
        LoadApplication(new App()); 

    Universal Windows Platform (UWP)

    To launch the StepProgressBar in UWP, initialize the progress bar assemblies in App.xaml.cs in UWP project as demonstrated in the following code samples. This is required to deploy the application with progress bar in Release mode in UWP platform.

  • C#
  • // In App.xaml.cs 
    protected override void OnLaunched(LaunchActivatedEventArgs e)
       if (rootFrame == null) 
          List<Assembly> assembliesToInclude = new List<Assembly>();
          // Add the below line for using SfLinearProgressBar.
          // Add the below line for using SfBorder.
          Xamarin.Forms.Forms.Init(e, assembliesToInclude); 


    The Android platform does not require any additional configuration to render the StepProgressBar.

    Initializing the StepProgressBar

    Import the progress bar namespace as demonstrated in the following code sample in your respective page.

    using Syncfusion.XForms.ProgressBar;

    Then, initialize the SfStepProgressBar as shown in the following code:

        <progressBar:SfStepProgressBar HorizontalOptions="Center" VerticalOptions="Center">
            <progressBar:StepView PrimaryText="Step 1" />
            <progressBar:StepView PrimaryText="Step 2" />
            <progressBar:StepView PrimaryText="Step 3" />
    		<progressBar:StepView PrimaryText="Step 4" Status="InProgress" />
            <progressBar:StepView PrimaryText="Step 5" />
    public MainPage()
        Grid mainGrid = new Grid();
        // Create StepProgressBar control
        SfStepProgressBar stepProgressBar = new SfStepProgressBar();
        stepProgressBar.VerticalOptions = LayoutOptions.Center;
        stepProgressBar.HorizontalOptions = LayoutOptions.Center;
        stepProgressBar.Children.Add(new StepView() { PrimaryText = "Step 1" });
        stepProgressBar.Children.Add(new StepView() { PrimaryText = "Step 2" });
        stepProgressBar.Children.Add(new StepView() { PrimaryText = "Step 3" });
    	stepProgressBar.Children.Add(new StepView() { PrimaryText = "Step 4", Status = StepStatus.InProgress });
        stepProgressBar.Children.Add(new StepView() { PrimaryText = "Step 5" });
        this.Content = mainGrid;

    The complete Getting Started sample is available in this link.