Skip to content

Instantly share code, notes, and snippets.

Working from home

Bin Lu oloopy

Working from home
View GitHub Profile
oloopy / INotifyPropertyChanged
Created Apr 4, 2014
Implementation of INotifyPropertyChanged for ViewModel
View INotifyPropertyChanged
using System.ComponentModel;
using System.Runtime.CompilerServices;
public class ViewModel : INotifyPropertyChanged
public event PropertyChangedEventHandler PropertyChanged;
public virtual void OnPropertyChanged([CallerMemberName] string propertyName = null)
if (PropertyChanged != null)