Silverlight / WPF: is it possible to bind to an explicit interface indexer implementation?

The WPF binding system allows you to bind to Indexers and properties and it also have a nice feature that allows you to bind to the explicit implementation of interfaces’ members, allowing you to resolve possible ambiguities if the properties have th


Microsoft Expression Encoder - using LiveJob, LiveDeviceSource and PreviewWindow

For the proof of concept about a recording and encoding application I’m building, I had the need to show the preview of the actual data stream I can grab from a video source before the actual encoding job started. In the previous example you could vi


Microsoft Expression Encoder - quick-start

Recently I’ve been asked to build a proof of concept of an application involving the use of a webcam and a microphone to record some streams and elaborate them after. At first I’ve tried with the new Silverlight support for webcam and microphone...i


WPF: x:Name Referenced Objects

Yesterday a friend of mine showed me some WPF code: he defined a transformation in XAML and was trying to alter it at runtime changing part of its transformation matrix (he was doing that substituting the scale transform matrix as a whole); he kept t


Silverlight, M-V-VM … and IoC – part 2

In the previous post I’ve presented a very fast introduction of what MVVM is and I’ve defined the two basic interfaces for the view and the viewmodel; I’m not going to implement a ‘pure’ version of the pattern itself because I consider a pattern just


Silverlight / WCF: fixing the Custom WCF Proxy Generator

Some days ago I blogged about how you can build your own Custom WCF Proxy generator to extend the classes it generates and add some validation logic (or whatever you like). Well playing with the MusicStore sample and making some changes to my ...


Silverlight / WCF : Writing your own Custom WCF Proxy Generator to support validation

Working on the data validation section of different projects in Silverlight we usually have to face the standard problem: basically in Silverlight 3 the data validation framework relies on exceptions thrown in the setter of objects properties.I...


WPF: yet another way to customize buttons controls (and controls in general)

Days ago I needed a way to add an image and some other extensions to the standard button controls in WPF, I did a similar thing in the past in SIlverlight, but I had to rewrite the full control template. I wanted to avoid this situation, so I ...


WPF: force all the validation rules attached to an object to be executed

I’m working on a WPF application that have some validation performed through the standard ValidationRule system employed by WPF at the UI level. Recently I needed a way to validate (that is check the state and force the execution of any valida...


WPF: a generic ‘server-side’ pagination data provider

Sooner or later everyone face the problem of having to deal with paginated data in WPF, paginating a collection is quite easy and you can refer to one of my previous posts too (http://www.primordialcode.com/index.php/2008/09/08/silverlight-a-ge...


 1 di 2   1  »  Last »