The following XAML code creates a RepeatButton control.
- <RepeatButton Margin="10,10,0,0" VerticalAlignment="Top"
- HorizontalAlignment="Left"
- Name="GrowButton" Width="80" Height="30">
- </RepeatButton>
Listing 1
Note: This article has moved here: Working with a RepeatButton control using XAML and C#
The default property of a RepeatButton is Content. The code snippet in Listing 2 creates the same button as created by Listing 1.
- <RepeatButton Margin="10,10,0,0" VerticalAlignment="Top"
- HorizontalAlignment="Left"
- Name="GrowButton" Width="80" Height="30">
- Grow
- </RepeatButton>
The output looks as in Figure 1.
Figure 1
The RepeatButton control has two important properties, Delay and Interval, that separate it from a normal button.
A RepeatButton is a button that fires Click events repeatedly when it is pressed and held. The rate and aspects of repeating are determined by the Delay and Interval properties that the control exposes.

Vithal WadjePosted Dec 31, 2014, 3:48 AM
nice explanation