Category Archives: MVVM

Load an external image in a universal app

When I was playing with a Universal App, an app with code shared between Windows Phone 8.1 and Windows 8.1, I noticed that loading an image from an externel source isn’t as easy as it should be. What seems logical is: View: <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> <Image VerticalAlignment="Center" Stretch="UniformToFill" Source="{Binding TheImage}"/>   </Grid> ViewModel: private BitmapImage […]

Comments Off on Load an external image in a universal app  

The best tools for software development

Here is a list of tools I you when developing software and for the reason I use that tool. Of course there are many other tools that do similar things and that are preferred by other people. Try all different tools you find and see which meets your needs best. IDE Since I only develop […]

MVVMlight button in DataTemplate

For a major project I’m currently working on I needed to add a button to the items in a ListPicker. This projects uses MVVMLight as MVVM framework, so I have to use the RelayCommand for the handling of the button clicks. My initial thought was to do it just like any other button: View (XAML): […]

Comments Off on MVVMlight button in DataTemplate