New to Telerik UI for WinForms? Start a free 30-day trial

Provides data for the HoveredElementChanged event that occurs when the mouse hover state changes for an element.

HoveredElementChangedEventArgs is used to notify when the mouse cursor enters or leaves a RadElement, providing the element that is currently under the mouse cursor. This is essential for implementing hover effects, tooltips, and other mouse-based interactions.

The event is commonly used in controls that need to track which specific element the user is hovering over, enabling dynamic visual feedback and contextual information.

Definition

Namespace:Telerik.WinControls

Assembly:Telerik.WinControls.dll

Syntax:

C#
public class HoveredElementChangedEventArgs : EventArgs

Inheritance: objectEventArgsHoveredElementChangedEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes a new instance of the HoveredElementChangedEventArgs class.

C#
public HoveredElementChangedEventArgs(RadElement hoveredElement)
Parameters:hoveredElementRadElement

The RadElement that is currently being hovered, or null if no element is hovered.

Fields

The RadElement that is currently being hovered by the mouse cursor.

C#
public readonly RadElement HoveredElement

This field contains the element that the mouse is currently hovering over. If the mouse is not over any element, this value may be null.