# Opening and Closing Delays

The **RadContextMenu** allows you to specify a delay for the closing and opening actions of its child items. This means that you make the **RadContextMenu** wait for a specific amount of time before opening or closing a sub menu. In order to specify these delays you can set the **ShowDelay** and **HideDelay** properties. They are of type **Duration** and have the following format in XAML "0:0:0.00".

Here is an example of a **RadContextMenu** with a delay before opening a sub menu equal to one second and a delay before closing a sub menu also equal to one second.

**Set Opening and Closing Delays**

```XAML
<telerik:RadMenu VerticalAlignment="Top"
                 ShowDelay="0:0:1"
                 HideDelay="0:0:1">

</telerik:RadMenu>
```

## Keep the Context Menu Open

By default, the **RadContextMenu** closes when the user clicks a menu item. Set `StaysOpen` to `True` when the menu should remain open after an item is selected.

**Keep the Context Menu Open**

```XAML
<telerik:RadContextMenu xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                        StaysOpen="True" />
```

## See Also

* [Setting the Opening Event](https://www.telerik.com/products/wpf/documentation/controls/radcontextmenu/opening-on-specific-event)

* [Keyboard Support](https://www.telerik.com/products/wpf/documentation/controls/radcontextmenu/key-modifiers)

* [Menu Placement](https://www.telerik.com/products/wpf/documentation/controls/radcontextmenu/placement)
