Beautifully show progression of activities within your application using Bunifu Circular Progress. It gives you flexibility to customize appearance and values to display. You can add Bunifu Circle Progress at design time and at runtime. 

____________________________________________________________
NOTE : We have created this control to allow maximum flexibility, each property is set separately e.g Text property is set separately from the Value property, and therefore to display the value you need to set each at a go like.

bunifuCircleProgress.Value = 20;
    bunifuCircleProgress.Text = bunifuCircleProgress.Value.ToString();

____________________________________________________________

Adding Bunifu Circle Progress during design time

Ensure you have imported Bunifu controls to your toolbox. If not import the required dlls and add them to your toolbox. 

After that, locate Bunifu Circle progress in the toolbox then drag to your form

After dragging to form you can customize using custom properties that will be described later in this article. 

Adding Bunifu Circle Progress at run time

Bunifu Circle Progress works for both C# and VB.NET. We will use the Form’s Load event to write our sample code that will create and add the Circle Progress to our Form.

C# Code 

private void Form1_Load(object sender, EventArgs e)

{
 Bunifu.UI.WinForms.BunifuCircleProgress bunifuCircleProgress = new Bunifu.UI.WinForms.BunifuCircleProgress();
    bunifuCircleProgress.Value = 20;
    bunifuCircleProgress.Text = bunifuCircleProgress.Value.ToString();
    this.Controls.Add(bunifuCircleProgress);
 }


VB.NET Code

Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load

    Dim bunifuCircleProgress As New Bunifu.UI.WinForms.BunifuCircleProgress

    bunifuCircleProgress.Value = 20
    bunifuCircleProgress.Text = bunifuCircleProgress.Value.ToString()
    Controls.Add(bunifuCircleProgress)

End Sub

With value set to 20 the progress should display as below

 Using timer component you can adjust the value dynamically in order to display real-time value of the progress.

Custom properties 

Bunifu Circle Progress has custom properties categorized into two i.e. design properties and animation properties. 

Design properties

  • LineThickness - This property allows you to set the thickness of the progress circle
  • LineProgressThickness  - This property allows you to set the thickness of the dynamic progress line
  • ProgressBackColor – This property allows you to set the color of the enclosing circle.
  • ProgressColor – This property allows you to set the color of the dynamic progress line.
  • Animated - This property gets or sets a value indicating whether the control is animated or not
  • AnimationInterval - Gets or sets the animation interval.
  • AnimationSpeed - Gets or sets the animation speed.
  • CircleMargin - This property gets or sets the margin from the circle progress and the rectangle holding it.
  • SecondaryFont - This gets or sets the font for SubScript and SuperScript Text
  • SubScriptColor - This gets or sets the text color for the SubScript.
  • SubScripMargin - This gets or sets the text margin for the SubScript
  • SubScriptText - This gets or sets the SubScript text.
  • SuperScriptColor - This gets or sets the text color for the SuperScript
  • SuperScriptMargin - This gets or sets the text margin for the SuperScript
  • SuperScriptText - This gets or sets the  SuperScript text.
  • Text - This gets or sets the text for the control [Value].
  • Value - Gets or sets the progress value.


Runtime

private void Form1_Load(object sender, EventArgs e)
{
   Bunifu.UI.WinForms.BunifuCircleProgress bunifuCircleProgress = new Bunifu.UI.WinForms.BunifuCircleProgress();
    bunifuCircleProgress.Value = 20;
bunifuCircleProgress.LineProgressThickness = 10;
bunifuCircleProgress.LineThickness = 20;
    bunifuCircleProgress.Text = bunifuCircleProgress.Value.ToString();
    this.Controls.Add(bunifuCircleProgress);
}

VB.NET code

Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load

   Dim bunifuCircleProgress As New Bunifu.UI.WinForms.BunifuCircleProgress

    bunifuCircleProgress.Value = 20
bunifuCircleProgress.LineProgressThickness = 10
bunifuCircleProgress.LineThickness = 20
    bunifuCircleProgress.Text = bunifuCircleProgress.Value.ToString()
    Controls.Add(bunifuCircleProgress)

End Sub

From the code above the result is as below

Animation properties

  • Animated - This is a boolean property that determines of the control can be animated or not
  • AnimationSpeed - This property allows you to set the speed of the animation


That's it!

We hope you will enjoy Bunifu Circle Progress and that it will help you create better user experience for your users. 

Should you have feedback or suggestions please send us via chat on the bottom right corner of the screen. 

Did this answer your question?