﻿using GalaSoft.MvvmLight;

namespace twitch_tv_viewer.ViewModels.Components
{
    internal class MessageDisplayViewModel : ViewModelBase
    {
        private string _message;

        public string Message
        {
            get { return _message; }
            set
            {
                _message = value;
                RaisePropertyChanged();
            }
        }
    }
}

﻿using GalaSoft.MvvmLight;

namespace twitch_tv_viewer.ViewModels.Components
{
    internal class MessageDisplayViewModel : ViewModelBase
    {
        private string _message;

        public string Message
        {
            get { return _message; }
            set
            {
                _message = value;
                RaisePropertyChanged();
                MessengerInstance.Send(new NotificationMessage());
            }
        }
    }
}

Clear notification on change in textbox text
Clear notification on change in textbox text
