如果我有一个实现INotifyPropertyChanged基类
public class ResourceWrapperBase : INotifyPropertyChanged是否激发基类中的propertychanged _ class事件,如下所示:
PropertyChanged(this, new PropertyChangedEventArgs(null)) 还要更新从这个基类继承的类中属性的所有绑定吗?
public class ResourceWrapper : ResourceWrapperBase因此,换句话说,我希望在触发ResourceWrapperBase中的propertychanged事件时更新ResourceWrapper中所有属性的绑定。
这个是可能的吗?
发布于 2010-07-03 04:34:29
通常,使用PropertyChangedEventArgs(null)触发PropertyChanged事件会导致更新所有绑定。
https://stackoverflow.com/questions/3168914
复制相似问题