private void OnPropertyChanged(String name) { if (PropertyChanged != null) PropertyChanged(this, new PropertyChangedEventArgs(name)); }