Thomas Levesque 9/23/2011

[WPF 4.5] Subscribing to an event using a markup extension

Read Original

This technical article details a new feature in WPF 4.5: using markup extensions to subscribe to events in XAML. It explains the limitation in previous versions and provides a proof-of-concept implementation (EventBindingExtension) that enables binding UI events directly to ViewModel methods, improving the MVVM pattern by reducing boilerplate code.

[WPF 4.5] Subscribing to an event using a markup extension

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes