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

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........