# Handling User Input

Mouse and keyboard user input is accepted from Windows event notification in **RadControl**, but actually handled in **RadElement** and **RadItem** objects.

* **RadControl** is the object that is first notified of Windows events, i.e. mouse over, key press, etc., and calls corresponding methods of **RadElement** through the RadControl **RadRootElement** property.

* **RadElement** introduces methods for dispatching user input information. This information is acted on if the RadElement **ShouldHandleMouseInput** property is *true*. By default, **ShouldHandleMouseInput** is set false and must be turned on explicitly. The **NotifyParentOnMouseInput** property is introduced in RadElement to control the [bubbling](https://www.telerik.com/products/winforms/documentation/telerik-presentation-framework/events/routed-events) of mouse events to parent elements. By default **NotifyParentOnMouseInput** is *false*.

* **RadItem.ShouldHandleMouseInput** is true by default. RadItem also introduces keyboard methods and events including **KeyDown**, **KeyPress** and **KeyUp** events.

The diagram below shows the inheritance tree where the **RootRadElement** descends from **RadItem**, and where **RadItem** ultimately descends from **RadElement**:

![Telerik UI for WinForms Telerik Presentation Framework handling user input](https://www.telerik.com/products/winforms/documentation/assets/dfa597ca2d6d3548fefc34cacfe1360a/tpf-handling-user-input001.png)

## See Also

* [Animations](https://www.telerik.com/products/winforms/documentation/telerik-presentation-framework/animations)

* [Dependency Properties](https://www.telerik.com/products/winforms/documentation/telerik-presentation-framework/dependency-properties)

* [HTML-like Text Formatting](https://www.telerik.com/products/winforms/documentation/telerik-presentation-framework/html-like-text-formatting)

* [Inherit themes from RadControls derivatives](https://www.telerik.com/products/winforms/documentation/telerik-presentation-framework/inherit-themes-from-radcontrols-derivatives)

* [Microsoft Active Accessibility Support](https://www.telerik.com/products/winforms/documentation/telerik-presentation-framework/microsoft-active-accessibility-support)

* [Override Theme Settings at Run Time](https://www.telerik.com/products/winforms/documentation/telerik-presentation-framework/override-theme-settings-at-run-time)

* [RadMarkupDialog](https://www.telerik.com/products/winforms/documentation/telerik-presentation-framework/markup-dialog/radmarkupdialog)
