Method SetRemovalTimer
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
millisecondsint?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.
containerUserControlThe 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.