Skip to main content

RepeatButton

Description​

RepeatButton extends the WPF RepeatButton and raises repeated clicks while held.

RepeatButton in light mode RepeatButton in dark mode

Example usage​

<fluence:RepeatButton Content="Hold to repeat" />

Key properties​

PropertyDefaultPurpose
AppearanceStandardSelects the button appearance.
CornerRadius4Sets the surface corner radius.
Delay, IntervalWPF defaultsSet the delay before repeating and interval between repeats.

State and behavior​

Holding the pointer raises repeated Click events until release; disabling it stops interaction.

Events​

The inherited Click event is raised on each repetition.

Reference​