The observed behavior is an expected one as RadTransitionControl
contains the GroupHeaders
as well. So, in order to restrict the Contextmenu
from appearing even when the GroupHeader
gets clicked you could use the following implementation:
sender, Telerik.Windows.RadRoutedEventArgs e)
var slot = (sender
&& slot.Parent.GetType() ==
You might still need to improve the logic if you want to prevent the ContextMenu
from appearing when other UI elements get clicked - the approach is the same to use the GetClickedElement
and based on it and its children to show the ContextMenu
We hope this will help you.
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Feedback Portal
and vote to affect the priority of the items