The property 'IsDataSource' was not found in type 'ViewModelLocator
- by dieter-preconsult-be
Hello
I have the following code:
<UserControl x:Class="TestApp.View.ViewAlarmLog"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:Custom="http://schemas.microsoft.com/wpf/2008/toolkit"
xmlns:mvvm="clr-namespace:Test.ViewModel">
<UserControl.Resources>
<ResourceDictionary >
<ResourceDictionary.MergedDictionaries>
</ResourceDictionary.MergedDictionaries>
<mvvm:ViewModelLocator x:Key="Locator" d:IsDataSource="True"/>
</ResourceDictionary>
</UserControl.Resources>
the problem is dat i always get an error:
The property 'IsDataSource' was not found in type 'ViewModelLocator'. "
What could be the problem here ?
Redgards
Dieter