/// <summary> /// Raises a PropertyChanged event and forces a Staff containing this MusicalSymbol to fire it's MeasureInvalidated events. /// </summary> /// <param name="propertyName"></param> protected override void OnPropertyChanged([CallerMemberName] string propertyName = null) { if (SuppressEvents) { return; } base.OnPropertyChanged(propertyName); Staff?.FireMeasureInvalidated(this, Measure); }
/// <summary> /// Forces a Staff containing this MusicalSymbol to fire it's MeasureInvalidated events. /// </summary> internal void InvalidateMeasure() { Staff?.FireMeasureInvalidated(this, Measure); }
protected override void OnPropertyChanged(string propertyName) { if (SuppressEvents) return; base.OnPropertyChanged(propertyName); Staff?.FireMeasureInvalidated(this, Measure); }