ViewModels in eigene DLL gepackt

This commit is contained in:
Husky
2020-02-22 18:52:29 +01:00
parent d7ea23f812
commit 169cfb9830
8 changed files with 25 additions and 5 deletions

View File

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Text;
namespace KanSan.ViewModel
{
public class PropertyChangedClass
{
public event PropertyChangedEventHandler PropertyChanged;
protected internal void OnPropertyChanged([CallerMemberName] string propertyname = null)
{
if (PropertyChanged != null)
PropertyChanged(this, new PropertyChangedEventArgs(propertyname));
}
}
}