what namespace and reference should i add for INotifyPropertyChanged
i getting error message
the type or namespace name 'inotifypropertychanged' not found (are missing using directive or assembly reference?)
what namespace , reference should add inotifypropertychanged
any great
system.componentmodel
check below example:
using system.componentmodel;
namespace myapplicationnamespace
{
public class myclass : inotifypropertychanged
{
public event propertychangedeventhandler propertychanged;
protected void onpropertychanged(string propertyname)
{
if (propertychanged != null)
{
propertychanged(this, new propertychangedeventargs(propertyname));
}
}
}
}
Silverlight > Programming Silverlight with .NET – General
Comments
Post a Comment