Answers for "mvvm viewmodelbase code"

C#
0

mvvm viewmodelbase code

public abstract class ViewModelBase : INotifyPropertyChanged
{
    public event PropertyChangedEventHandler PropertyChanged;

    protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null)
    {
        PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
    }
}
Posted by: Guest on August-30-2020

C# Answers by Framework

Browse Popular Code Answers by Language