18 lines
499 B
C#
18 lines
499 B
C#
using PropertyChanged;
|
|
using System.ComponentModel;
|
|
|
|
namespace WpfTreeView
|
|
{
|
|
/// <summary>
|
|
/// A base view model that fires Property Changed events as needed
|
|
/// </summary>
|
|
[ImplementPropertyChanged]
|
|
public class BaseViewModel : INotifyPropertyChanged
|
|
{
|
|
/// <summary>
|
|
/// The event that is fired when any child property changes its value
|
|
/// </summary>
|
|
public event PropertyChangedEventHandler PropertyChanged = (sender, e) => { };
|
|
}
|
|
}
|