private void ModelOnPropertyChanged(object sender, PropertyChangedEventArgs e) { if (PropertiesByName.ContainsKey(e.PropertyName)) { RaisePropertyChanged(e.PropertyName); } if (e.PropertyName.IsNullOrEmpty()) { RaisePropertyChangedForAll(); } OnModelPropertyChanged(e.PropertyName); }
public bool ContainsProperty(string name) { return(PropertiesByName.ContainsKey(name) || PropertiesByLogicalName.ContainsKey(name)); }