Stories recently tagged with 'mvvm'

Auto-Notifying View Models in Silverlight and WPF(www.danielahill.com)

submitted by resabioresabio(95) 2 months, 15 days ago

Quickly create View Models that automatically notify XAML bindings when property values change, without having to manually raise a PropertyChanged Event Code view model properties as: public virtual int MyIntegerProperty { get; set; } read more...

1 comment |category: |Views: 126

tags: another

UnicornManager: Prism 4, MEF, WPF, EF 4.1 code first, NuGet, MVVM, ...(teusje.wordpress.com)

submitted by teusjeteusje(103) 6 months, 19 days ago

Discovering Prism 4, MEF, WPF, Entity Framework 4.1 code first, MVVM by using NuGet, DataValidation etc... read more...

4 comments |category: |Views: 372

tags: another

Catel - a free open-source MVVM Framework for WPF and Silverlight(blog.catenalogic.com)

submitted by TischnoetentoetTischnoetentoet(424) 1 year, 3 months ago

Information and background information about Catel! read more...

add a comment |category: |Views: 31

tags: another

notifypropertyweaver – {get;set;notify} in Silverlight (www.prathameshkulkarni.com)

submitted by kulkarpkulkarp(20) 1 year, 4 months ago

So, what does notifypropertyweaver do? If your class implements INotifyPropertyChanged then you just need to have auto-implemented properties and notifypropertyweaver automagically ensures that on change of value of a property, PropertyChanged event is fired. read more...

add a comment |category: |Views: 45

tags: another

MVVM - The other ViewModel(leomburke.wordpress.com)

submitted by leomburkeleomburke(45) 1 year, 5 months ago

A look at an alternative use of ViewModels. read more...

add a comment |category: |Views: 26

tags: another

Command and CommandManager for Windows Forms(codewithpassion.blogspot.com)

submitted by codewithpassioncodewithpassion(25) 1 year, 6 months ago

Winforms and MVVM read more...

add a comment |category: |Views: 26

tags: another

WPF, MVVM and RaisePropertyChanged(www.wilberbeast.com)

submitted by stevenwilberstevenwilber(25) 1 year, 10 months ago

Removing the need for hardcoded property name strings in RaisePropertyChanged. read more...

add a comment |category: |Views: 97

tags: another

Silverlight TextBox Control that immediately updates Text field(blog.roboblob.com)

submitted by spavkovspavkov(1718) 1 year, 10 months ago

Standard Silverlight TextBox control is very useful but has one strange behavior: if you use TwoWay data binding and bind some property to controls Text property, when users type text into the control, this change is not propagated to the bound property until the control loses its focus. Lets see how to solve that problem easily... read more...

1 comment |category: |Views: 162

tags: another

Adventures in Ruby MVVM – Firing Events from Ruby(houseofbilz.com)

submitted by BrianGenisioBrianGenisio(1000) 1 year, 11 months ago

My Experiment: Can I move over to Ruby as my primary programming language when developing WPF and Silverlight applications? In this post, I talk about how to fire events from Ruby, including an implementation of INotifyPropertyChanged read more...

add a comment |category: |Views: 117

tags: another

Binding to Anonymous types in Silverlight(grahammurray.wordpress.com)

submitted by gmurraygmurray(20) 1 year, 11 months ago

Talks about the problems with binding against anonymous types in Silverlight, and offers some possible solutions to the issues. read more...

add a comment |category: |Views: 15

tags: another

Unit Testing Modal Dialogs in MVVM and Silverlight 4(blog.roboblob.com)

submitted by spavkovspavkov(1718) 2 years, 1 month ago

As feedback to my recent post on Modal Dialogs in MVVM and Silverlight 4 I have received comments that the solution is not easy to Unit Test so i decided to create small blog posts on this subject just to show how simple and clean it is to do this... read more...

add a comment |category: |Views: 243

tags: another

Unit Testable WCF Web Services in MVVM and Silverlight 4(blog.roboblob.com)

submitted by spavkovspavkov(1718) 2 years, 1 month ago

I figured that there has to be a better way to solve this everyday problem so while working on my personal MVVM framework (yes, everyone is building one these days) i was setting these goals regarding the Web Service calls from my MVVM applications: 1. simplify as much as possible asynchronous invocation of Web Service methods (avoid writing boring boilerplate code for each call) 2. get rid of the Add Service Reference approach completely if possible 3. make the Web Services unit testable (hide them behind some interface so we can mock them in our unit tests) 4. simplify exception handling 5. fault tolerance (if web service client is faulted by exception it should be automatically recreated) ... read more...

add a comment |category: |Views: 269

tags: another

Binding UI Events from View to commands in ViewModel in Silverlight 4(blog.roboblob.com)

submitted by spavkovspavkov(1718) 2 years, 4 months ago

In previous two posts we covered wiring up the Views and ViewModels and Blendability and showing ModalDialogs in MVVM way. Today we will touch another problem that people starting with MVVM very often fail to address properly: Handling the UI Events of the View in the ViewModel while avoiding placing any logic in code behind of the View. So our design goals for this post are: * We want to be able to wire-up UI Events to the commands in ViewModel via DataBinding in Xaml without any code behind in the View * View should not be aware of the ViewModel’s type or any other details of its existence – View should just use Silverlight’s DataBinding to access its ViewModel public properties (its DataContext) regardless of what is actually set to be there * We want to be able to handle any event that occurs in View (that includes not only Button clicks but also Mouse events, Drag and Drop events, Loaded events etc). read more...

add a comment |category: |Views: 281

tags: another

Modal dialogs with MVVM and Silverlight 4(blog.roboblob.com)

submitted by spavkovspavkov(1718) 2 years, 4 months ago

In this post i would like to tackle another problem that is very common in MVVM and yet very rarely done correctly. I will try to provide simple and platform agnostic way of showing Modal Dialogs in MVVM manner without any code in View (later in the post we will reuse same concept and provide way to show simple message dialogs in the same way). read more...

add a comment |category: |Views: 88

tags: another

Wiring up View and Viewmodel in MVVM and Silverlight 4 – Blendability(blog.roboblob.com)

submitted by spavkovspavkov(1718) 2 years, 4 months ago

Im a BIG fan of Silverlight and also i really like the Model View ViewModel pattern. Nice part is that those two fit perfectly. The downside is that everyone is doing MVVM the way they like it or the way they think they like it. There is no strict guidance, there are no ‘Bible’ kind of books written on the subject, there is only a enormous pile of information (of varying quality) on the web contributed by developers all over the world trying to (ab)use this pattern in their everyday practice. (probably you can take this post as just another small contribution to that information pile on the MVVM). read more...

add a comment |category: |Views: 124

tags: another

Reverse ICommands for MVVM(orktane.com)

submitted by orktaneorktane(300) 2 years, 4 months ago

One of the problems with MVVM designs is the inability of the ViewModel to singularly effect change(s) within the View; yes, you can use data-changes through data-binding as a crude-bludgeon, but I'd rather have the right tools for the right job. And that is where Reverse ICommands come in, they allow you to execute an ICommand in your ViewModel and have it trigger a set of specified action(s) in the View - the reverse taxonomy speaks to the fact that reverse ICommands targets your View rather than the ViewModel. read more...

add a comment |category: |Views: 47

tags: another