Example #1
0
        /// <summary>
        /// Pushes a notification that the value of a tag field contained within the tag block has been changed.
        /// </summary>
        public void NotifyValueChanged()
        {
            //Prepare
            EventArgs e = new EventArgs();

            //Set dirty
            Owner.IsDirty = true;

            //Notify property changed...
            NotifyPropertyChanged(nameof(Name));

            //Call OnFieldValueChanged
            OnFieldValueChanged(e);

            //Raise event
            FieldValueChanged?.Invoke(this, e);
        }
Example #2
0
 void OnFieldValueChanged()
 {
     FieldValueChanged?.Invoke(this);
 }