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 are the various x: prefix used in xaml language?
What is the need of wpf when we had windows forms?
What is the use of mvvm pattern in wpf?
What is the windows presentation foundation?
What is wpf visual studio?
Is x:static the same as a data binding?
How to add windows form in wpf application?
Does .net core support wpf?
What is a windows presentation foundation application?
What is wpf xaml?
What are the types of binding in wpf?
Name the common assemblies used in WPF?
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)