summaryrefslogtreecommitdiff
path: root/Juick/ViewModels/ViewModelBase.cs
blob: 1c864db27ac569942cee872e45221a4b53468709 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using System.ComponentModel;

namespace Juick.ViewModels
{
    public class ViewModelBase : INotifyPropertyChanged
    {
        public event PropertyChangedEventHandler PropertyChanged;
        public void NotifyPropertyChanged(string propertyName)
        {
            if (PropertyChanged != null)
            {
                PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }
    }
}