WPF – Editing Mode with Save and Cancel Capability – Dynamic ViewModelProxy

July 23, 2010

Update 29/07: The project was updated, there was a minor bug in the object changed notifier. In continuation of a previous post - WPF – Editing Mode with Save and Cancel Capability In this post I will demonstrate an elegant and simple solution that you can utilize regarding the first option presented in the previous post. The Use-Case If you want to open an editable view over an existing read-only view with cancel capability, you usually wish you could use the same ViewModel instance as the DataContext. However, this...
tags: ,
no comments

WPF – Editing Mode with Save and Cancel Capability

July 17, 2010

A common scenario that is required by applications is the ability to show an entity in a view mode, and when the user wishes to edit that entity, another view is loaded in edit mode. In most cases, you would allow the user to save or cancel his changes. To illustrate the concept, consider the following interface - When a user clicks ‘Edit’: ...
tags: ,
no comments

WPF – A Cool Feedback Control – 3D Book View Switching

July 10, 2010

Update 29/07: The project was updated, there was a minor bug in the object changed notifier. A few years back I was looking for a good place to start with for building a nice feedback control. The purpose was to allow end-users to provide feedback on the application on any given subject. After browsing the internet, I found the following - Creating a 3D book-shaped application with speech and in using WPF 3.5 by Roberto Sonnino. It’s a very cool and a beautiful project, nice work Roberto! To make...
tags: ,
no comments

WCF Contrib v2.1.1

July 3, 2010

Make sure you visit WCF Contrib home. This release adds core optimizations and internal fixes to the infrastructure. There are no breaking changes from the last version, only internal improvements. In previous versions you may have encountered synchronization related errors such as recursive write/read locking. These issues were resolved and you should no longer experience that. This release is highly recommended over previous versions, make sure you use this one.
no comments

WPF PRISM (CAL) / MVVM – DelegateCommand Extensions – Part 2

Update 29/07: The project was updated, there was a minor bug in the object changed notifier. Be sure to read the first post - Part One After showing the most basic in part 1, let’s see a real-life example of my finalized solution. I created a sample application which looks as follows - Let me go through this very quickly - The main view is bound to a MainViewModel. The employees list view at the left is bound an EmployeeListViewModel which is...
tags: ,
2 comments

WPF PRISM (CAL) / MVVM – DelegateCommand Extensions – Part 1

July 1, 2010

Well, it has certainly been a while since I got to a good posting rhythm, I hope it changes soon because I have a series of posts in mind. This isn’t a post about general help and description for PRISM, MVVM, or DelegateCommand. There are many resources about these already. This post is to demonstrate how I managed to extend the DelegateCommand with some really cool features. The DelegateCommand that ships with CAL expects an “execute method” and a “can execute method” arguments in its constructor. This is nice, but I wanted something...
tags: ,
no comments