.netwpfrouted-commands

What is the difference between a RoutedCommand and a RoutedUICommand?


I have tried to do some reading about it, but I failed to find documentation that explains the difference between RoutedCommand and RoutedUICommand satisfactorily.


Solution

  • RoutedUICommand derives from RoutedCommand and adds a text field used to provide a description of the command. This is useful when the command is bound to be accessed from the UI.

    I got this from here.

    The difference between a RoutedUICommand and RoutedCommand is that RoutedUICommand includes a Text property.