WPF, Silverlight, WP7 and the Async CTP

In the past days I had a chance to give an eye to these future feature of the .NET framework and I have to say I really love it. It allows you to write code that have to run asynchronously or in sequence (continuations) in a very simple and intuitive


WPF - skinning the ComboBox moving the DropDown Menu around

A couple of days ago a friend of mine asked for some help in skinning a WPF ComboBox control, he had a special need in which the dropdown menu items list of the control had to be aligned to the right side of the ComboBox and had to expand in the left


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


DotNetMarche January Workshop - WPF, MVVM, UI

If you live in Marche (Italy), get ready and don’t miss the next DotNetMarche workshop! Our local community group is working to setup the event. You can see the actual agenda and register for it at: http://dotnetmarche.org/eventi/Default.aspx?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...


 1 di 2   1  »  Last »