bloxstrap/Bloxstrap/UI/ViewModels/NotifyPropertyChangedViewModel.cs
2023-07-15 22:30:52 +01:00

16 lines
476 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bloxstrap.UI.ViewModels
{
public class NotifyPropertyChangedViewModel : INotifyPropertyChanged
{
public event PropertyChangedEventHandler? PropertyChanged;
public void OnPropertyChanged(string propertyName) => PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
}
}