Source

main / Source / Excel / Excel.AddIn / Excel.AddIn / ViewModels / TabState.cs


namespace DataUp.Excel.Addin
{
    public class TabState : ViewModelBase
    {
        private bool showPost;
        private bool showNext;
        private bool showCancel;
        private bool showBack;
        private bool isEnabled;
        private bool isComplete;
        private bool isCurrent;

        public bool ShowNext
        {
            get
            {
                return showNext;
            }
            set
            {
                showNext = value;
                OnNotifyPropertyChanged("ShowNext");
            }
        }

        public bool ShowCancel
        {
            get
            {
                return showCancel;
            }
            set
            {
                showCancel = value;
                OnNotifyPropertyChanged("ShowCancel");
            }
        }

        public bool ShowBack
        {
            get
            {
                return showBack;
            }
            set
            {
                showBack = value;
                OnNotifyPropertyChanged("ShowBack");
            }
        }

        public bool ShowPost
        {
            get
            {
                return showPost;
            }
            set
            {
                showPost = value;
                OnNotifyPropertyChanged("ShowPost");
            }
        }

        public bool IsEnabled
        {
            get
            {
                return isEnabled;
            }
            set
            {
                isEnabled = value;
                OnNotifyPropertyChanged("IsEnabled");
            }
        }

        public bool IsComplete
        {
            get
            {
                return isComplete;
            }
            set
            {
                isComplete = value;
                OnNotifyPropertyChanged("IsComplete");
            }
        }

        public bool IsCurrent
        {
            get
            {
                return isCurrent;
            }
            set
            {
                isCurrent = value;
                OnNotifyPropertyChanged("IsCurrent");
            }
        }
    }
}