New to Telerik UI for WinFormsStart a free 30-day trial

CLR Events

Updated over 6 months ago

RadControl inherits from the standard Windows Forms ScrollableControl, and so has access to the principal mouse, keyboard, font, sizing, layout and painting events. These events are captured and passed to the element tree where appropriate. For example, the OnMouseEnter event inherited from ScrollableControl first notifies the RootElement that a the mouse is over the control, then invokes the standard OnMouseEnter behavior from ScrollableControl.

OnMouseEnter

C#
protected override void OnMouseEnter(EventArgs e)
{
    if (!DisableMouseEvents)
    {
        this.RootElement.IsMouseOver = true;
        this.RootElement.IsMouseOverElement = true;
    }
    base.OnMouseEnter(e);
}

See Also

In this article
See Also
Not finding the help you need?
Contact Support