Bunifu Range is a control that allows the user to select a range of values within 2 limits.
Simply locate image button in your toolbox and drag it to your form as shown below. You can then customize using custom properties as it will be elaborated later in this article.
To add Bunifu range at run-time we will use the Load event handler to run the code that adds Bunifu Range to our form as shown below.
C# code
private void Form1_Load(object sender, EventArgs e){var range = new Bunifu.Framework.UI.BunifuRange();this.Controls.Add(range);}
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.LoadDim range As New Bunifu.Framework.UI.BunifuRangeControls.Add(range);End Sub
VB.NET code
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.LoadDim range As New Bunifu.Framework.UI.BunifuRangeControls.Add(range);End Sub
This property allows us to set the background color of our range
This property allows you to set the roundness of its corners
This property allows you to set the color of the indicator
This property allows you set the maximum range of values the user can select
This property allows you to set the maximum value selected by the user
This property allows you to set the minimum value selected by the user
That's it!
We hope you will enjoy using Bunifu Range 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.