# Maximum and Minimum Values

Learn about the Maximum and Minimum values in C1RangeSlider.

## Content



The [Maximum](/componentone/api/win/online-input/dotnet-framework-api/C1.Win.C1Input.4.8/C1.Win.C1Input.C1RangeSlider.Maximum.html) and [Minimum](/componentone/api/win/online-input/dotnet-framework-api/C1.Win.C1Input.4.8/C1.Win.C1Input.C1RangeSlider.Minimum.html) properties enable you to set upper and lower allowable bounds for range in [C1RangeSlider](/componentone/api/win/online-input/dotnet-framework-api/C1.Win.C1Input.4.8/C1.Win.C1Input.C1RangeSlider.html) control. Lower value thumb cannot be set to a value less than the Minimum, and Upper Value thumb cannot be set to a value greater than the Maximum.

By default Minimum is set to 0 and Maximum is set to 100.

Set the Minimum and Maximum values using [Minimum](/componentone/api/win/online-input/dotnet-framework-api/C1.Win.C1Input.4.8/C1.Win.C1Input.C1RangeSlider.Minimum.html) and [Maximum](/componentone/api/win/online-input/dotnet-framework-api/C1.Win.C1Input.4.8/C1.Win.C1Input.C1RangeSlider.Maximum.html) properties from **Properties** pane of the control, or through code:

DOC-DETAILS-TAG-OPEN

DOC-SUMMARY-TAG-OPEN

To write code in Visual Basic

DOC-SUMMARY-TAG-CLOSE

```vbnet
Me.c1RangeSlider1.Minimum = 10
Me.c1RangeSlider1.Maximum = 100
```

DOC-DETAILS-TAG-CLOSE

DOC-DETAILS-TAG-OPEN

DOC-SUMMARY-TAG-OPEN

To write code in C#

DOC-SUMMARY-TAG-CLOSE

```csharp
this.c1RangeSlider1.Minimum = 10;
this.c1RangeSlider1.Maximum = 100; 
```

DOC-DETAILS-TAG-CLOSE

## See Also

[Orientation](/componentone/docs/win/online-input/usingthec1inputcontr/c1inputcontrols/C1RangeSliderControlOverview/C1RangeSliderFeatures/Orientation)