Repeat and Toggle Buttons
RepeatButton nor the
ToggleButton controls are abstract. Yet both reside in the System.Windows.Controls.Primitives namespace, not in the System.Windows.Controls namespace, indicating that these two controls are not intended to be used in day-to-day page code.
RepeatButton behaves the same as the
Button control; however, the
Tap event is raised repeatedly while it is being pressed, whereas the
Button control raises its
Tap event once for each user press.
RepeatButton is used as part of the
ScrollBar control, which itself is part of the
ScrollViewer control. Unlike Silverlight for the browser, however, which uses the
RepeatButton to incrementally scroll content when pressed, ...