Files
docs-desktop/dotnet-desktop-guide/framework/winforms/controls/trackbar-control-overview-windows-forms.md
T
Andy De George c0ba284473 Initial winforms content migrated (#18)
* Merge winforms framework content to working branch (#14)

* Breadcrumb / TOC / Move net5 to net folder (#15)

* change path from net5 to net

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Add .net 5 winforms placeholder article (#16)

* added some metadata and adjusted net5 placeholder

* corrections

* corrections

* corrections

* Test1

* Swapping landing page vs concept

* fix links

* Fix links

* Fix desc
2020-09-01 16:26:21 -07:00

2.3 KiB

title, ms.date, f1_keywords, helpviewer_keywords, ms.assetid
title ms.date f1_keywords helpviewer_keywords ms.assetid
TrackBar Control Overview 03/30/2017
TrackBar
sliders [Windows Forms], about sliders
TrackBar control [Windows Forms], about TrackBar control
slider controls [Windows Forms], about slider controls
95910ecb-8a4c-4776-89fa-206c89ed6973

TrackBar Control Overview (Windows Forms)

The Windows Forms xref:System.Windows.Forms.TrackBar control (also sometimes called a "slider" control) is used for navigating through a large amount of information or for visually adjusting a numeric setting. The xref:System.Windows.Forms.TrackBar control has two parts: the thumb, also known as a slider, and the tick marks. The thumb is the part that can be adjusted. Its position corresponds to the xref:System.Windows.Forms.TrackBar.Value%2A property. The tick marks are visual indicators that are spaced at regular intervals. The trackbar moves in increments that you specify and can be aligned horizontally or vertically. For example, you might use the track bar to control the cursor blink rate or mouse speed for a system.

Key Properties

The key properties of the xref:System.Windows.Forms.TrackBar control are xref:System.Windows.Forms.TrackBar.Value%2A, xref:System.Windows.Forms.TrackBar.TickFrequency%2A, xref:System.Windows.Forms.TrackBar.Minimum%2A, and xref:System.Windows.Forms.TrackBar.Maximum%2A. xref:System.Windows.Forms.TrackBar.TickFrequency%2A is the spacing of the ticks. xref:System.Windows.Forms.TrackBar.Minimum%2A and xref:System.Windows.Forms.TrackBar.Maximum%2A are the smallest and largest values that can be represented on the track bar.

Two other important properties are xref:System.Windows.Forms.TrackBar.SmallChange%2A and xref:System.Windows.Forms.TrackBar.LargeChange%2A. The value of the xref:System.Windows.Forms.TrackBar.SmallChange%2A property is the number of positions the thumb moves in response to having the LEFT or RIGHT ARROW key pressed. The value of the xref:System.Windows.Forms.TrackBar.LargeChange%2A property is the number of positions the thumb moves in response to having the PAGE UP or PAGE DOWN key pressed, or in response to mouse clicks on the track bar on either side of the thumb.

See also