How to get the Label of Ribbon command that is executed. Information is present in sender object but how to cast it in RibbonCommand and then I can get that command name
private void RibbonCommand_Executed(object sender, ExecutedRoutedEventArgs e)
{
RibbonCommand rbnCmd = sender as RibbonCommand;
}
But in this case rbnBmd remains empty. How to cast sender object into ribbon command ?