src/Foundation/Presentation/Gimela.Presentation.Controls/Controls/Sprocket/SprocketControl.cs
/// <summary>
/// Provides derived classes an opportunity to handle changes to the Interval property.
/// </summary>
/// <param name="oldInterval">Old Value</param>
/// <param name="newInterval">New Value</param>
Provides derived classes an opportunity to handle changes to the Interval property.
Provides derived classes an opportunity to handle changes to the Interval property .
protected virtual void OnIntervalChanged(double oldInterval, double newInterval)
    {
      if (renderTimer != null)
      {
        bool isEnabled = renderTimer.Enabled;
        renderTimer.Enabled = false;
        renderTimer.Interval = newInterval;
        renderTimer.Enabled = isEnabled;
      }
    }
protected virtual void OnIntervalChanged ( double oldInterval , double newInterval ) { if ( renderTimer != null ) { bool isEnabled = renderTimer . Enabled ; renderTimer . Enabled = false ; renderTimer . Interval = newInterval ; renderTimer . Enabled = isEnabled ; } }
Provides derived classes an opportunity to handle changes to the Interval property.
Provides derived classes an opportunity to handle changes to the Interval property .
oldInterval
double
None
newInterval
double
None