In order the application to respond to user input WPF offers 2 concepts . Lot of people get confused with events and commands. When do you use what?
When to choose which?
Handling input in WPF is done by
1. Event Handling 2. Command Handling
1. Event Handling
2. Command Handling
Events
Commands
Advantages of Commands
Its best practice to use commands over events at real project, especially if you use MVVM design pattern.
In the next post we will examine how to implement and handle commands in WPF
Tags: .NET, #DOTNET, #ASP.NET, ASP.NET, WPF, Events Vs Commands in WPF, Commands, Events,
Can you please explain any specific reason why MS introduce event Bubbling.