Dabblernl
Dabblernl

Reputation: 16121

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.

Upvotes: 19

Views: 4584

Answers (1)

o.k.w
o.k.w

Reputation: 25810

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.

Upvotes: 25

Related Questions