What is the difference between a RoutedCommand and a RoutedUICommand? What is the difference between a RoutedCommand and a RoutedUICommand? wpf wpf

What is the difference between a RoutedCommand and a RoutedUICommand?


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.