Files
Andy De George da363692ff Initial WPF content migrated (#17)
* Reset branch for WPF changes

* Convert BMP to PNG; fix link-out-of-scope err

* Add snippets for WPF... 6794 files!!!!

* Add missing snippets

* update file updated between migration

* Fix paths to include

* update breadcrumb and toc

* fix index links

* fix index links

* fix index links

* fix markdown
2020-09-04 09:46:28 -07:00

25 lines
1.3 KiB
Markdown

---
title: "RepeatButton"
ms.date: "03/30/2017"
f1_keywords:
- "AutoGeneratedOrientationPage"
helpviewer_keywords:
- "controls [WPF], RepeatButton"
- "RepeatButton control [WPF]"
ms.assetid: 5702b603-95e6-438a-88c0-76509367e876
---
# RepeatButton
The <xref:System.Windows.Controls.Primitives.RepeatButton> is similar to a <xref:System.Windows.Controls.Button>. However, <xref:System.Windows.Controls.Primitives.RepeatButton> elements give you control over when and how the <xref:System.Windows.Controls.Primitives.ButtonBase.Click> event occurs.
The following graphic shows an example of the three states of a repeat button control, Default, PointerFocused, and Pressed. The first button shows the default state of the <xref:System.Windows.Controls.Primitives.RepeatButton>. The second shows how the appearance of the button changes when the mouse pointer hovers over the button, giving it focus. The last button shows the appearance of the <xref:System.Windows.Controls.Primitives.RepeatButton> when the user presses the mouse button over the control.
![Repeat button states](./media/ss-ctl-repeatbutton.png "SS_CTL_repeatbutton")
Typical RepeatButton
## In This Section
## Reference
<xref:System.Windows.Controls.Primitives.RepeatButton>
## Related Sections