Brian Genisio's House of Bilz

  Home  |   Contact  |   Syndication    |   Login
  72 Posts | 0 Stories | 186 Comments | 0 Trackbacks

News

Locations of visitors to this page

Archives

Post Categories

Who am I?

June 2010 Entries

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....
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

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...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati