Table of Contents

Method OnClickRepeatTimerEvent

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

OnClickRepeatTimerEvent(object?, EventArgs)

Handles the timer event for repeating click actions, typically used to trigger repeated scrolling or similar behavior when a control is held down.

protected virtual void OnClickRepeatTimerEvent(object? sender, EventArgs e)

Parameters

sender object

The source of the event, usually the timer or control initiating the repeat action.

e EventArgs

An object that contains the event data.

Remarks

This method is intended to be overridden in derived classes to customize the behavior of repeated click events. It is commonly used in scenarios where holding down a control should result in repeated actions, such as scrolling or incrementing values.