Beispiel #1
0
        protected void NotifyPropertyChanged()
        {
            //tell any data binding
            if (PropertyChanged != null)
            {
                PropertyChanged(this, new PropertyChangedEventArgs("option"));
                //todo
            }

            //tell our parent
            if (_parent != null)
            {
                _parent.NotifyPropertyChanged("option");
            }
        }
Beispiel #2
0
        private void NotifyPropertyChanged()
        {
            if (_suspendNotification)
            {
                return;
            }
            //tell any data binding
            if (PropertyChanged != null)
            {
                PropertyChanged(this, new PropertyChangedEventArgs("option"));
                //todo
            }

            //tell our parent

            if (_parent != null)
            {
                _parent.NotifyPropertyChanged("option");
            }
        }