Welcome to WindowsClient.net | Sign in | Join

Andrej Tozon's blog

In the Attic

Browse by Tags

All Tags » MVVM (RSS)
My MEF articles published on SilverlightShow
My two-part article on rebuilding an existing Silverlight application to use MEF (Managed Extensibility Framework) for “selective composition” is now live on SilverlightShow.net ( part 1 , part 2 ). I took my Halloween Gallery application and made it...
Display “My Pictures” in Silverlight application at design time
Following up on The ultimate hack for Silverlight in Blend post from Josh Smith, I tried to make Blend display pictures from the My Pictures folder right in my Silverlight application. Needless to say, it worked as advertised :) The ViewModel is set through...
My articles on SilverlightShow
A few of my Silverlight articles were published on the SilverlightShow site this past two months. The first one is an introduction to Silverlight/(WPF)/Blend behaviors, where I create a Silverlight Halloween Sound Player without writing a single line...
MVVM with WPF, Silverlight, and… Windows Forms
In my post -NTK09 conference blog post I mentioned one of my MVVM demos was about sharing a ViewModel between WPF , Silverlight and even Windows Forms application. I got a lot of requests for posting sample code online since then, which I intended to...
Silverlight LOB: Validation (#2 – Annotations and shared classes)
In my previous post , I wrote about “the first line of defense” against inputting invalid data in Silverlight applications (or any kind of application, for that matter) – preventing the user from entering invalid data through some an input form. Input...
Silverlight LOB: Validation (#1)
When taking about data validation in applications, I usually describe the validation as the five-stage process or, put differently, five lines of defense against invalid data. In this post, I’ll write about the first line of defense – preventing the user...
Adventures in Silverlight LOB: The beginning
This is the beginning of what’s going to be yet another series focusing on developing LOB applications with Silverlight. I’ve been wanting to write more on this topic since NTK, but there was always something else… In the series, I’ll build a sample application...
Silverlight, Prism EventAggregator and “lost events”
I’ve just started discovering Prism , mainly as a tool to help me use the MVVM with my apps. That said, by now, Prism proved itself with: Support for Commanding EventAggregator Unity integration Targeting both WPF and Silverlight EventAggregator is great...
Countdown to Silverlight 3 #7: Navigation
Another powerful Silverlight 3 feature is navigation. The concept is very simple: provide a space on your main page, which you’ll later fill with custom content – pages. You’ll be able to navigate through these pages (by using browser’s Forward/Back buttons...
NTK09 – Slide decks from my talks
Had 2 talks at this year’s NT Konferenca . The first one was about building LOB application with Silverlight, starting from what can we do today with v2 (run a short, 2 min video of a Silverlight 2 LOB app we’re going to be releasing within few weeks...
Dynamic Data Forms for Silverlight, revisited
A couple of weeks ago, I wrote a post about handling dynamic forms in Silverlight. With this continuation post, I’m going to make a few changes to the original project: 1. Implement a new, custom, field type and provide a template for it (I’ll write about...
Dynamic Data Forms for Silverlight with a Data Template Selector Control
The basic idea behind this post is to show a simple way for items/list controls to display each item data with a different template. The ideal candidate for such exercise are data forms, where user can enter different kinds of information - text, numbers...
Disabling items in a Silverlight ListBox
This is a quick tip on making the ListBox items behave as disabled. You know the semaphore, right? STOP on red, GO on green? OK. I’m drilling this with my two-year old when driving her to kindergarten every morning so lately it’s probably stuck in my...
Declarative Role-based “security” for Silverlight Xaml elements
Tim Heuer published a great example on how to implement user authentication and role validation with ASP.NET Application Services in his Application Corner a while ago. It really works as expected, even with custom membership / role providers. And you...
Making the Silverlight TreeView bindable two-way
One of the most common scenarios in LOB applications is a list control, displaying some sort of items, and clicking on an item provides the user with some details about selected item. This is called a Master-detail scenario. Take Microsoft Outlook, as...
Next page »
Page view counter