DecreaseRepeatButton Property

Track.DecreaseRepeatButton Property

Gets the RepeatButton that decreases the Value property of the Track.

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

public RepeatButton DecreaseRepeatButton { get; set; }
/** @property */
public RepeatButton get_DecreaseRepeatButton ()

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

public function get DecreaseRepeatButton () : RepeatButton

public function set DecreaseRepeatButton (value : RepeatButton)

    <RepeatButton .../>

Property Value

The RepeatButton that reduces 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 the ScrollBar Control Template.

<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

Community Additions

© 2016 Microsoft