This project is read-only.
1

Closed

Catel.Examples.WPF.DisplayProgress runtime error

description

Hi,

I am just learning MVVM, so I am studying Catel examples. If I run Catel.Examples.WPF.DisplayProgress program hangs with message: Exception has been thrown by the target of an invocation.

The inner message has better clues:
A TwoWay or OneWayToSource binding cannot work on the read-only property 'Percentage' of type 'Catel.Examples.DisplayProgress.ViewModels.SplashScreen1WindowViewModel'.

So apparently Percentage is ReadOnly? Anyway to make example work I had to correct XAML code from
Value="{Binding Percentage}"
to
Value="{Binding Percentage, Mode=OneWay}"
Best wishes from Slovenija and thanks for free SW
Matjaž
Closed Oct 9, 2014 at 9:31 PM by GeertvanHorrik

comments

GeertvanHorrik wrote Oct 9, 2014 at 9:30 PM

Please use the official issue tracker for real issues. We no longer use codeplex for Catel.

About the exception, it's a first-chance exception, but anyway it's a good change.