# Events

This topic covers the specific events exposed by the **RadContextMenu** control.

The **RadContextMenu** is an **ItemsControl**. Almost all of the exposed events are inherited from the **ItemsControl** class. The **RadContextMenu** adds several additional events for the developer.

> tip To learn more about the events raised by the **RadMenuItem**, please take a look at the [RadMenu's help](https://www.telerik.com/products/wpf/documentation/controls/radmenu/overview).

The **RadContextMenu** control raises the following specific event:

* **ItemClick** - occurs each time an item in the **RadContextMenu** gets clicked. The event handler receives two arguments:

  * The sender argument contains the **RadContextMenu**. This argument is of type object but can be cast to the **RadContextMenu** type.

  * A **RadRoutedEventArgs** object.

> note If the **RadMenuItem** is in the role of a header (has child items), the **ItemClick** event won't be raised, unless the **NotifyOnHeaderClick** property is set to **True**.

> note The **ItemClick** event is fired after the **Click** event of the clicked **RadMenuItem**.

**Handle the ItemClick Event in C#**

```C#
private void RadContextMenu_ItemClick(object sender, RadRoutedEventArgs e)
{
	RadMenuItem clickedItem = e.OriginalSource as RadMenuItem;
}
```

* **Opening** - occurs each time before **RadContextMenu** gets opened. The event handler receives two arguments:

  * The sender argument contains the **RadContextMenu**. This argument is of type object but can be cast to the **RadContextMenu** type.

  * A **RadRoutedEventArgs** object.

  If you handle this event (set e.Handled = true), you will prevent **RadContextMenu** to open.

* **Opened** - occurs each time the **RadContextMenu** gets opened. The event handler receives two arguments:

  * The sender argument contains the **RadContextMenu**. This argument is of type object but can be cast to the **RadContextMenu** type.

  * A **RoutedEventArgs** object.

* **Closed** - occurs each time the **RadContextMenu** gets closed. The event handler receives two arguments:

  * The sender argument contains the **RadContextMenu**. This argument is of type object but can be cast to the **RadContextMenu** type.

  * A **RoutedEventArgs** object.

## See Also

* [Overview](https://www.telerik.com/products/wpf/documentation/controls/radcontextmenu/overview)

* [Visual Structure](https://www.telerik.com/products/wpf/documentation/controls/radcontextmenu/visual-structure)

* [Getting Started](https://www.telerik.com/products/wpf/documentation/controls/radcontextmenu/getting-started)

* [Handle Item Clicks](https://www.telerik.com/products/wpf/documentation/knowledge-base/kb-contextmenu-handle-item-clicks)
