Category Archives: WPF

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

Caliburn.Micro feat. AvalonDock II: Save/Restore Layout

One of the most convient feature for the user is to save the layout of the different widgets in your app, especially if you can arrange them as nicely as with AvalonDock. Luckily, the DockingManager already supports this feature, so … Continue reading

Posted in C#, Caliburn.Micro, WPF