Updated: February 2009
Represents a control that provides a scroll bar that has a sliding Thumb whose position corresponds to a value.
Assembly: PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
The following illustration shows a control.
The control contains a Track control. The Track control consists of a Thumb control and two RepeatButton controls. You can increase and decrease the Value property of the control by pressing the RepeatButton controls or by moving the Thumb. The default range of values for the Value property is from 0 to 1. The Value represents the linear distance of the Thumb between the endpoints of the . You can change the default range of values by setting the Minimum and Maximum properties. The Orientation property determines whether the is displayed horizontally or vertically, and you must define this property for the control to appear.
The Track in a is oriented so that values increase from top to bottom for a vertical or from left to right for a horizontal .
The Track properties in the following table are the binding targets for the corresponding properties when the Track property is not explicitly defined. If you explicitly define the Track property, the binding does not occur.
Dependency properties for this control might be set by the control’s default style. If a property is set by a default style, the property might change from its default value when the control appears in the application. The default style is determined by which desktop theme is used when the application is running. For more information, see Themes.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.