Code:
<telerik:RadMenuItem x:Name="radMenuHome">
</telerik:RadMenuItem>
How to stay open the rad menu after clicking it in wpf? It should behave like the way as displayed in the following url. Thanks.
Try set StaysOpenOnClick
to True
, by default it is False
:
<telerik:RadMenuItem x:Name="radMenuHome"
Header="Menu"
StaysOpenOnClick="True" ...>
Try with this :
OnClientItemClosing event
, but you cannot detect the opened items
and then collapse them.get_openedItem()
client side
function and then check the item level by get_level();
.close()
function that should collapse it.As for the selected items you can use the specific css file selectors : refer the link below