RGBController/RGBController2/ViewModels/BaseViewModel.cs

20 lines
508 B
C#
Raw Normal View History

2020-10-25 19:52:14 +00:00
using System;
using System.Collections.Generic;
2020-10-26 17:20:01 +00:00
using System.ComponentModel;
2020-10-25 19:52:14 +00:00
using System.Text;
namespace RGBController2.ViewModels
{
2020-10-26 17:20:01 +00:00
public class BaseViewModel : INotifyPropertyChanged
2020-10-25 19:52:14 +00:00
{
2020-10-26 17:20:01 +00:00
public event PropertyChangedEventHandler PropertyChanged;
protected void OnPropertyChanged(string propertyName)
{
if (PropertyChanged != null)
{
PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
}
}
2020-10-25 19:52:14 +00:00
}
}