需要有关INotifyPropertyChanged接口的说明

需要有关INotifyPropertyChanged接口的说明

问题描述:


我对C#有一些经验.我试图提高自己的知识,所以发现了一个名为INotifyPropertyChanged的界面,该界面在WPF和Windows Phone应用程序开发中都非常有用.我尝试了但无法理解此INotifyPropertyChanged
任何人都可以用示例进行解释!

Hi,
I have some experience about C#. I try to improve my knowlege so I have found interface called INotifyPropertyChanged that is very useful in WPF also Windows Phone application development.I tried but could n''t understand this INotifyPropertyChanged
Can anyone explain this with example please!

此接口是Observer模式的.NET实现形式.您可以使用Google阅读有关它的更多信息.这是MSDN上的两篇文章,描述了实现:
http://msdn.microsoft.com/en-us/library/system.componentmodel. inotifypropertychanged.aspx [^ ]
http://msdn.microsoft.com/en-us/library/ms229614%28v = vs.85%29.aspx [ ^ ]
This interface is kind of the .NET implemenation of the Observer pattern. You may use Google to read more about it. Here are two articles from MSDN describing the implementation:
http://msdn.microsoft.com/en-us/library/system.componentmodel.inotifypropertychanged.aspx[^]
http://msdn.microsoft.com/en-us/library/ms229614%28v=vs.85%29.aspx[^]


查看MSDN:http://msdn.microsoft.com/en-us/library/system.componentmodel.inotifypropertychanged.aspx [使用INotifyPropertyChanged更好地结合 [
Look at MSDN : http://msdn.microsoft.com/en-us/library/system.componentmodel.inotifypropertychanged.aspx[^]

Impementation : Bind Better with INotifyPropertyChanged[^]