예제 #1
0
 /// <summary>
 /// Called after the <see cref="VolumeAndPitch"/> value has changed.
 /// </summary>
 /// <param name="oldValue">The previous value of <see cref="VolumeAndPitch"/></param>
 /// <param name="newValue">The new value of <see cref="VolumeAndPitch"/></param>
 protected virtual void OnVolumeAndPitchChanged(LEDModeDrivers.VolumeAndPitchReactive oldValue, LEDModeDrivers.VolumeAndPitchReactive newValue)
 {
     UpdateBarLayout();
 }
예제 #2
0
 /// <summary>
 /// Coerces the value of <see cref="VolumeAndPitch"/> when a new value is applied.
 /// </summary>
 /// <param name="value">The value that was set on <see cref="VolumeAndPitch"/></param>
 /// <returns>The adjusted value of <see cref="VolumeAndPitch"/></returns>
 protected virtual LEDModeDrivers.VolumeAndPitchReactive OnCoerceVolumeAndPitch(LEDModeDrivers.VolumeAndPitchReactive value)
 {
     return(value);
 }