コード例 #1
0
 /// <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);
 }
コード例 #2
0
 /// <summary>
 /// Forces a Staff containing this MusicalSymbol to fire it's MeasureInvalidated events.
 /// </summary>
 internal void InvalidateMeasure()
 {
     Staff?.FireMeasureInvalidated(this, Measure);
 }
コード例 #3
0
 protected override void OnPropertyChanged(string propertyName)
 {
     if (SuppressEvents) return;
     base.OnPropertyChanged(propertyName);
     Staff?.FireMeasureInvalidated(this, Measure);
 }