Geeks With Blogs

News Locations of visitors to this page
Brian Genisio's House of Bilz June 2010 Entries
Adventures in MVVM – ViewModel Location and Creation
More Adventures in MVVM In this post, I am going to explore how I prefer to attach ViewModels to my Views. I have published the code to my ViewModelSupport project on CodePlex in case you'd like to see how it works along with some examples. Some History My approach to View-First ViewModel creation has evolved over time. I have constructed ViewModels in code-behind. I have instantiated ViewModels in the resources sectoin of the view. I have used Prism to resolve ViewModels via Dependency Injection. ......

Posted On Friday, June 4, 2010 3:17 PM

Disabling Navigation Flicks in WPF
I am currently working on a multi-touch application using WPF. One thing that has been irritating me with this development is an automatic navigation forward/back command that is bound to forward and backwards flicks. Many of my touch-based interactions were being thwarted by gestures picked up by WPF as navigation. I just wanted to disable this behavior. My programmatic back/forward calls are not affected by this change, which is nice. Here is how I did it: In my main window, I added the following ......

Posted On Wednesday, June 2, 2010 4:10 AM

Copyright © Brian Genisio's House Of Bilz | Powered by: GeeksWithBlogs.net