3.4 KiB
layout | title | description | platform | control | documentation |
---|---|---|---|---|---|
post | Styles Settings in Windows Forms Range Slider control | Syncfusion | Learn about Styles Settings support in Syncfusion Windows Forms Range Slider control and more details. | WindowsForms | RangeSlider | ug |
Styles Settings in Windows Forms Range Slider
Range Slider supports different visual styles for its appearance through the enumeration RangeSliderStyle. Some of the available VisualStyles are as follows:
- Default
- Metro
- Office2016Colorful
- Office2016White
- Office2016DarkGray
- Office2016Black
Default
This option helps to set the Default theme.
{% tabs %}
{% highlight C# %}
// Default
this.rangeSlider.VisualStyle = RangeSlider.RangeSliderStyle.Default;
{% endhighlight %}
{% highlight VB %}
'Default
Me.rangeSlider.VisualStyle = RangeSlider.RangeSliderStyle.Default
{%endhighlight %}
{% endtabs %}
Metro
This option helps to set the Metro theme.
{% tabs %}
{% highlight C# %}
// Metro
this.rangeSlider.VisualStyle = RangeSlider.RangeSliderStyle.Metro;
{% endhighlight %}
{% highlight VB %}
'Metro
Me.rangeSlider.VisualStyle = RangeSlider.RangeSliderStyle.Metro;
{%endhighlight %}
{% endtabs %}
Office2016Colorful
This option helps to set the Office2016Colorful theme.
{% tabs %}
{% highlight C# %}
// Office2016Colorful
this.rangeSlider.VisualStyle = RangeSlider.RangeSliderStyle.Office2016Colorful;
{% endhighlight %}
{% highlight VB %}
'Office2016Colorful
Me.rangeSlider.VisualStyle = RangeSlider.RangeSliderStyle.Office2016Colorful
{%endhighlight %}
{% endtabs %}
Office2016White
This option helps to set the Office2016White theme.
{% tabs %}
{% highlight C# %}
// Office2016White
this.rangeSlider.VisualStyle = RangeSlider.RangeSliderStyle.Office2016White;
{% endhighlight %}
{% highlight VB %}
'Office2016White
Me.rangeSlider.VisualStyle = RangeSlider.RangeSliderStyle.Office2016White
{%endhighlight %}
{% endtabs %}
Office2016DarkGray
This option helps to set the Office2016DarkGray theme.
{% tabs %}
{% highlight C# %}
// Office2016DarkGray
this.rangeSlider.VisualStyle = RangeSlider.RangeSliderStyle.Office2016DarkGray;
{% endhighlight %}
{% highlight VB %}
'Office2016DarkGray
Me.rangeSlider.VisualStyle = RangeSlider.RangeSliderStyle.Office2016DarkGray
{%endhighlight %}
{% endtabs %}
Office2016Black
This option helps to set the Office2016Black theme.
{% tabs %}
{% highlight C# %}
// Office2016Black
this.rangeSlider.VisualStyle = RangeSlider.RangeSliderStyle.Office2016Black;
{% endhighlight %}
{% highlight VB %}
'Office2016Black
Me.rangeSlider.VisualStyle = RangeSlider.RangeSliderStyle.Office2016Black
{%endhighlight %}
{% endtabs %}