Class ControlOverlay
Provides a base implementation for overlays that can be drawn on top of controls.
public class ControlOverlay : BaseObjectWithId, IBaseObjectWithId, IBaseObject, IControlOverlay
- Inheritance
-
ControlOverlay
- Implements
- Derived
Properties
- AfterTickAction
Gets or sets the action to be executed after each tick of the Timer.
- Container
Gets or sets the UserControl that serves as the container for overlay.
- Flags
Gets or sets the flags that control the behavior and appearance of the overlay.
- Timer
Gets the timer instance associated with this object.
Methods
- OnPaint(AbstractControl, PaintEventArgs)
Paints the overlay on the specified control.
- OnTimerTick()
Handles the timer tick event, allowing derived classes to define custom behavior when the timer elapses.
- SetRemovalTimer(int?, UserControl)
Starts a one-time timer to trigger the removal of an overlay after the specified duration.