Track.IncreaseRepeatButton Property

Gets the RepeatButton that increases the Value property of the Track class.

Namespace: System.Windows.Controls.Primitives
Assembly: PresentationFramework (in presentationframework.dll)
XML Namespace:

public RepeatButton IncreaseRepeatButton { get; set; }
/** @property */
public RepeatButton get_IncreaseRepeatButton ()

/** @property */
public void set_IncreaseRepeatButton (RepeatButton value)

public function get IncreaseRepeatButton () : RepeatButton

public function set IncreaseRepeatButton (value : RepeatButton)

    <RepeatButton .../>

Property Value

The RepeatButton that increases the Value of the Track control when the RepeatButton is pressed. The default value is a RepeatButton control that has default settings.

When a Track control is in a Slider control, the Delay properties of the RepeatButton controls of the Track bind to the Delay property of the Slider control.

The following example shows how the DecreaseRepeatButton and IncreaseRepeatButton styles are defined inside the ScrollBar control template when the Orientation property is Vertical. For the complete sample, see Custom ScrollBar Template Sample.

<Track Grid.Row="1" Name="PART_Track"
    <RepeatButton Style="{DynamicResource ScrollBar_UpTrack}"/>
    <Thumb Style="{DynamicResource ScrollBar_HorizontalThumb}"/>
    <RepeatButton Style="{DynamicResource ScrollBar_DownTrack}"/>

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0