65.9K
CodeProject is changing. Read more.
Home

ICommand convinient implementation for MVVM pattern

starIconstarIconstarIconstarIconstarIcon

5.00/5 (1 vote)

Jun 11, 2015

CPOL

1 min read

viewsIcon

6055

downloadIcon

80

Implementation if ICommand is trivial, but it is poor by its nature. We can not get Picture or Text or Disabled properties from usual ICommand implementation. But we can make a trik and have all information about command in a single object and use this information on as many command elements as we w