Table of Contents

Method SetRemovalTimer

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

SetRemovalTimer(int?, UserControl)

Starts a one-time timer to trigger the removal of an overlay after the specified duration.

public virtual void SetRemovalTimer(int? milliseconds, UserControl container)

Parameters

milliseconds int?

The duration, in milliseconds, after which the overlay will be removed. Can be null. If not specified or not positive, DefaultToolTipTimeout is used as the interval.

container UserControl

The control container from which the overlay will be removed.

Remarks

This method configures the timer to execute a single action for overlay removal. Ensure that the specified duration is a positive value to avoid unexpected behavior.