Monthly Archives: June 2011

Sharing Resources in WPF/SL

I just stumbled across the problem where I wanted to share a specific Path element between different Buttons as their Content. I declared the Path in a ResourceDictionary <Path x:Key=”MinusPath” HorizontalAlignment=”Stretch” VerticalAlignment=”Stretch” Data=”{StaticResource MinusData}” Stretch=”Fill” Stroke=”Red” StrokeThickness=”3″ /> and referenced … Continue reading

Posted in Silverlight, WPF

MVVM Dialogs with Caliburn.Micro

Background In every applications life there comes a time when you need to show some kind of message to the user. Be it a question whether he really wants to delete something or a simple message that says that some … Continue reading

Posted in C#, Caliburn.Micro, CMContrib, Silverlight, WPF

Handling Errors in Caliburn.Micro’s IResult – Part II

Preface In my last post I gave two possible approaches and a preview of my final solution for handling errors in IResults. The syntax for my final solution was This means that whenever the result completes with an error of type … Continue reading

Posted in C#, Caliburn.Micro, CMContrib