diff --git a/samples/BindingTest/MainWindow.xaml b/samples/BindingTest/MainWindow.xaml index 149625925a..e1aafde5b3 100644 --- a/samples/BindingTest/MainWindow.xaml +++ b/samples/BindingTest/MainWindow.xaml @@ -72,7 +72,7 @@ - + diff --git a/samples/BindingTest/ViewModels/ExceptionPropertyErrorViewModel.cs b/samples/BindingTest/ViewModels/ExceptionPropertyErrorViewModel.cs index 01155f1d9f..be34c65c40 100644 --- a/samples/BindingTest/ViewModels/ExceptionPropertyErrorViewModel.cs +++ b/samples/BindingTest/ViewModels/ExceptionPropertyErrorViewModel.cs @@ -21,7 +21,7 @@ namespace BindingTest.ViewModels } else { - throw new InvalidOperationException("Value must be less than 10."); + throw new ArgumentOutOfRangeException("Value must be less than 10."); } } }