Thank you very much for the clarification and the provided code snippet.
When the backstage item's IsSelectable
property is set to False
, you're able to take advantage of the Click
event of the item, as well as its Command
property, however, it will behave like a button and the backstage will get closed. What I can suggest in order to achieve the desired behavior and still be able to bind the ExitCommand
is to make the item selectable and use the EventToCommandBehavior
to bind the ExitCommand to the MouseLeftButtonUp
event, for example.
I've updated the sample project to demonstrate this approach. Please have a look and let me know if this would work for you.
Get quickly onboarded and successful
with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.