What is the basic difference between events and commands in the mvvm model?
Answer / Shubham Srivastava
The main difference between events and commands in the MVVM pattern is that events are fired by controls when something happens (e.g., a button click), while commands represent specific actions that can be executed by the ViewModel, regardless of the control triggering them. Commands also provide an opportunity for command handling logic to be modified at runtime.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between silverlight and wpf browser application?
Is it right to say that WPF has replaced DirectX?
What is xaml in wpf?
What do you know by content alignment in wpf?
What is expression blend?
When did mvvm introduced?
What can you do in expression blend that you cannot do in visual studio?
What is dependency property in wpf?
Explain how you can display different data at run time and design time?
How to disable the parent window while a popup is active wpf?
What is the most common format for declaring a data binding in markup?
Provide some instances where you have "xmlns:x" namespace in xaml?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)