Click here to Skip to main content
12,622,895 members (31,303 online)
Click here to Skip to main content

Stats

177.4K views
6.3K downloads
49 bookmarked
Posted

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
Expression.Samples.Interactivity.dll
System.Windows.Interactivity.dll
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_
Software Developer (Senior)
India India
Kunal Chowdhury is a Microsoft "Windows Platform Development" MVP (Most Valuable Professional), a Codeproject Mentor, Telerik Developer Expert, Nokia Developer Champion, Windows 10 Champion, Microsoft Rockstar, 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

You may also be interested in...

Pro
Pro
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.161128.1 | Last Updated 6 Nov 2010
Article Copyright 2010 by _Kunal Chowdhury_
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid