随笔分类 -  mvvm

Deriving from BindableBase更简单的绑定通知
摘要:Visual Studio creates a BindableBase class in the Common folder of your projects. (Don’t confuse this class with the BindingBase class from which Binding derives.)BindableBase 是像下面这样定义的public abstract class BindableBase : INotifyPropertyChanged{ public event PropertyChangedEventHandler PropertyChang 阅读全文

posted @ 2012-09-04 15:17 GIS-MAN 阅读(1238) 评论(0) 推荐(0)

Data Binding Notifications绑定通知
摘要:The standard way for a View Model to serve as a binding source is by implementing the INotifyPropertyChanged interface defined in the System.ComponentModel namespace. This interface has an exceptionally simple definition:public interface INotifyPropertyChanged { event PropertyChangedEventHandler Pro 阅读全文

posted @ 2012-09-04 15:06 GIS-MAN 阅读(240) 评论(0) 推荐(0)

导航