Skip to content

Commit b72afad

Browse files
985360: Updated ReadMe file of this repository
1 parent 3fdbf31 commit b72afad

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

README.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,28 @@
11
# How-to-customize-the-range-intervals-in-Winforms-RangeSlider
2-
This session describes how to customize the range intervals in Winforms RangeSlider
2+
The **Syncfusion WinForms RangeSlider** control provides an option to customize the range of the slider to meet specific application requirements. By adjusting properties such as **Minimum**, **Maximum**, **TickFrequency**, and **StartPosition**, you can create a slider that fits your desired range and layout.
3+
4+
## Why Customize the Range?
5+
Customizing the range intervals allows you to:
6+
- Define the minimum and maximum values for the slider.
7+
- Control the tick frequency for precise value selection.
8+
- Position the form appropriately for better user experience.
9+
10+
## Key Properties
11+
- **Minimum**: Sets the lowest value of the slider.
12+
- **Maximum**: Defines the highest value of the slider.
13+
- **TickFrequency**: Determines the interval between ticks.
14+
- **StartPosition**: Specifies the initial position of the form.
15+
16+
## Example Code
17+
```csharp
18+
// To Customize the Range
19+
this.rangeSlider1.Minimum = 1;
20+
this.rangeSlider1.Maximum = 10;
21+
this.rangeSlider1.TickFrequency = 1;
22+
this.StartPosition = FormStartPosition.CenterScreen;
23+
```
24+
25+
This example sets the slider range from **1 to 10**, with a tick frequency of **1**, and centers the form on the screen.
26+
27+
For more details, refer to the official Syncfusion Knowledge Base article:
28+
🔗 [How to Customize the Range Intervals in WinForms RangeSlider](https://www.syncfusion.com/kb/11982/how-to-customize-the-range-intervals-in-winforms-rangeslider)

0 commit comments

Comments
 (0)