Click here to Skip to main content
Click here to Skip to main content
 
Add your own
alternative version

Using EventTrigger in XAML for MVVM – No Code Behind

, 6 Nov 2010 CPOL
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.
ExternalAssemblies.zip
ExternalAssemblies
Expression.Samples.Interactivity.dll
System.Windows.Interactivity.dll
MVVMEventTriggerDemo.zip
MVVMEventTriggerDemo
_ReSharper.MVVMEventTriggerDemo
BuildScriptCache
.crc
.version
4
47918bc5.dat
9
DecompilerCache
NamedArguments
.crc
.version
9
46e53963.dat
PdbInfo
ProjectModel
ProjectModel.dat
Resources
.crc
.version
SymbolCache.bin
TagPrefixes
.crc
.version
8
7a4257d4.dat
TodoCache
.crc
.version
9
46e53963.dat
WebsiteFileReferences
.crc
.version
WordIndex
.crc
.version
4
61b06288.dat
MVVMEventTriggerDemo.5.1.ReSharper.user
MVVMEventTriggerDemo.suo
MVVMEventTriggerDemo.Web
bin
MVVMEventTriggerDemo.Web.dll
MVVMEventTriggerDemo.Web.pdb
ClientBin
MVVMEventTriggerDemo.xap
MVVMEventTriggerDemo.Web.csproj.user
Properties
MVVMEventTriggerDemo
Bin
Debug
Expression.Samples.Interactivity.dll
MVVMEventTriggerDemo.dll
MVVMEventTriggerDemo.xap
System.Windows.Interactivity.dll
Release
ExternalAssemblies
Expression.Samples.Interactivity.dll
System.Windows.Interactivity.dll
Models
MVVMEventTriggerDemo.csproj.user
Properties
ViewModels
Views

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Kunal Chowdhury (@kunal2383)
Team Leader
India India
Kunal Chowdhury is a Microsoft "Windows Platform Development" MVP (Most Valuable Professional), a Codeproject Mentor, Telerik MVP, Nokia Developer Champion, Speaker in various Microsoft events, Author, passionate Blogger and a Software Engineer by profession.
 
He is currently working in an MNC located in India. He has a very good skill over XAML, C#, Silverlight, Windows Phone, WPF and Windows Store (WinRT) app development. He posts his findings, articles, tutorials in his technical blog and CodeProject.
 
Technical Blog: http://www.kunal-chowdhury.com
Facebook: http://facebook.com/blog.kunal
Twitter : http://twitter.com/kunal2383
Follow on   Twitter   Google+   LinkedIn

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150302.1 | Last Updated 6 Nov 2010
Article Copyright 2010 by Kunal Chowdhury (@kunal2383)
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid