WPF Reflections

Oct 19 2007   1:29PM GMT

WPF commands – my view

Mark Shurmer Profile: MarkWPF

Having used WPF for a while, the flexibility in most things is very good

The flexibility that you can do commands as per out of the box method, or using something more strictly command design patterns means that you can decide to go either way on any given project.

What I have I done?
I have recently tended to use the out of the box approach, as for me that’s normally all i want.

If I need undo/redo and/or logging I can derive a class from RoutedUICommand and use that, so I get the best of all worlds.

Just to make it all dizzy, you can also define your own commands by implementing ICommand, but I’ll leave that for another day

 Comment on this Post

There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

Share this item with your network: