Reputation: 533
I have a c# class.
class MyClass: AnotherClass, INotifyDataErrorInfo
{
..................
}
I need to implement "INotifyDataErrorInfo" interface too. But it comes in Red Colour and does not identify the namespace of the interface. I have added "using System.ComponentModel;" too. But it does not work.
anyone knows why it is ?
Upvotes: 0
Views: 75
Reputation: 35464
INotifyDataErrorInfo is in the namespace System.ComponentModel
in the assembly System
. Make sure you have using System.ComponentModel;
in your source code and the Project (.csproj) references the System.dll
.
Upvotes: 1