Bunifu Slider is a control that allows the user to select a value from a range of values. 

Adding Bunifu Slider at Design Time

Simply locate Bunifu Slider in your toolbox and drag it to your form

Adding Bunifu Slider at Run Time

To add Bunifu Slider at run time we will use the Load event handler to run the code that adds our Slider to our form as shown below.

C# code

private void Form1_Load(object sender, EventArgs e)
{
var slider = new Bunifu.Framework.UI.();
 
this.Controls.Add(slider);
}

VB.NET code

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

Dim slider As New Bunifu.Framework.UI.BunifuSlider
 
Controls.Add(slider)

End Sub

Custom properties

  • Background color  - This property allows you to set the background color of the slider
  • BorderRadius - This property allows you to set the border radius of the corners the slider
  • Value -  This property allows you to set the value selected by the user
  • Maximum Value - This property allows you to set the maximum value the user can select

On running the code the result should be as below

That's it!

We hope you will enjoy using Bunifu Slider control 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?