Using EventTrigger in XAML for MVVM – No Code Behind

added by kunal2383
11/6/2010 6:14:31 AM

1 Kicks, 139 Views

I have seen people writing Code Behind a lot while they are working in the MVVM framework. A huge lines of code in their xaml.cs file actually creates problem to the designers to change anything present in the XAML. Why is this so? Because, lots of people don’t know how to use Triggers to call the MVVM methods to complete their business need. In this article, I will show you how to fire Triggers to call some methods present in your ViewModel, instead of writing in the code behind file. Read more to learn about it.


0 comments