Styles Settings in Windows Forms Range Slider

29 Apr 20212 minutes to read

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.

// Default

this.rangeSlider.VisualStyle = RangeSlider.RangeSliderStyle.Default;
'Default

Me.rangeSlider.VisualStyle = RangeSlider.RangeSliderStyle.Default

Default theme

Metro

This option helps to set the Metro theme.

// Metro

this.rangeSlider.VisualStyle = RangeSlider.RangeSliderStyle.Metro;
'Metro

Me.rangeSlider.VisualStyle = RangeSlider.RangeSliderStyle.Metro;

Metro theme

Office2016Colorful

This option helps to set the Office2016Colorful theme.

// Office2016Colorful

this.rangeSlider.VisualStyle = RangeSlider.RangeSliderStyle.Office2016Colorful;
'Office2016Colorful

Me.rangeSlider.VisualStyle = RangeSlider.RangeSliderStyle.Office2016Colorful

Office2016Colorful theme

Office2016White

This option helps to set the Office2016White theme.

// Office2016White

this.rangeSlider.VisualStyle = RangeSlider.RangeSliderStyle.Office2016White;
'Office2016White

Me.rangeSlider.VisualStyle = RangeSlider.RangeSliderStyle.Office2016White

Office2016White theme

Office2016DarkGray

This option helps to set the Office2016DarkGray theme.

// Office2016DarkGray

 this.rangeSlider.VisualStyle = RangeSlider.RangeSliderStyle.Office2016DarkGray;
'Office2016DarkGray

Me.rangeSlider.VisualStyle = RangeSlider.RangeSliderStyle.Office2016DarkGray

Office2016DarkGray theme

Office2016Black

This option helps to set the Office2016Black theme.

// Office2016Black

this.rangeSlider.VisualStyle = RangeSlider.RangeSliderStyle.Office2016Black;
'Office2016Black

Me.rangeSlider.VisualStyle = RangeSlider.RangeSliderStyle.Office2016Black

Office2016Black theme