C# and WPF tutorial files
This commit is contained in:
@ -0,0 +1,17 @@
|
||||
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) => { };
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user