The Windows Phone Toolkit is really useful. Yesterday, while I was updating my ConsoTracker app, I met a strange bug using the CustomMessageBox : it was raising a nullReference exception. Let’s see what was the…
Tagged By tips
[Win8] The cached file updater contract or how to make more useful the File Save Picker contract
As you can read on MSDN, there is in fact a lot of contracts available for a Windows 8 app. Today, I want to describe one which is very useful for the Dropbox client I…
C++/CX : How to expose/convert an existing concurrency::task to Windows::Foundation::IAsyncAction^ ?
😮 I am really writing a blog post on C++ ? Yest it seems so :). At this year MVP Summit I discovered how much fun I can have with C++ (and especially C++/Cx in…
How to bind an ItemsControl to an Enum with localized descriptions
Today, it’s a blog on a tip to use the values of an enum as the source of an ItemsControl (ListBox, ComboBox, ListView, etc.) and display them nicely using attributes. We’ll provide a localized description…
WPF 4.5 – Part 7 : Accessing collections on non-UI Threads
Here is the seventh (OMG !) post on the WPF 4.5 new features. Collections are a part of every application and their management is maybe the first thing you learn to deal with in WPF.…
UPDATE: WPF 4.5’s MarkupExtension : Invoke a method on the ViewModel / DataContext when an event is raised.
We have seen in a previous post that WPF 4.5 enable the use of custom markup extensions to provide event handlers. In this post we’ll see that we can execute a method on the DataContext…
WPF 4.5 – Part 6 : Markup Extensions for Events
The first time I read about this new feature and its description, I just shake my head and thought : “what is this ?”! Then Rob Relyea, the ex-PM of the WPF team and Fabien…
WPF 4.5 – Part 3 : New methods of the Dispatcher
This is the third part of the serie on the WPF 4.5 new features. The Dispatcher class is maybe one of the most used in WPF when you start doing thing asyncronously. It is the…
WPF 4.5 – Part 2 : Improved WeakEventManager
Memory leaks were, are and always will be a concern in an application. One of it’s classical origin is unsubscribed events handler. The weak event pattern is here to the rescue but it is quite…
WPF 4.5 – Part 1 : Asynchronous data validation
Here is the first post of a serie about the new features of WPF 4.5. Validation of data is often if not always necessary in modern applications. From a long time, WPF provided the IDataErrorInfo…