src/Foundation/Presentation/Gimela.Presentation.Controls/Controls/Sprocket/SprocketControl.cs
/// <summary>
/// Provides derived classes an opportunity to handle changes to the IsIndeterminate property.
/// </summary>
/// <param name="oldIsIndeterminate">Old Value</param>
/// <param name="newIsIndeterminate">New Value</param>
Provides derived classes an opportunity to handle changes to the IsIndeterminate property.
Provides derived classes an opportunity to handle changes to the IsIndeterminate property .
protected virtual void OnIsIndeterminateChanged(bool oldIsIndeterminate, bool newIsIndeterminate)
    {
      if (oldIsIndeterminate != newIsIndeterminate)
      {
        if (newIsIndeterminate)
        {
          Start();
        }
        else
        {
          Stop();
          InvalidateVisual();
        }
      }
    }
protected virtual void OnIsIndeterminateChanged ( bool oldIsIndeterminate , bool newIsIndeterminate ) { if ( oldIsIndeterminate != newIsIndeterminate ) { if ( newIsIndeterminate ) { Start ( ) ; } else { Stop ( ) ; InvalidateVisual ( ) ; } } }
Provides derived classes an opportunity to handle changes to the IsIndeterminate property.
Provides derived classes an opportunity to handle changes to the IsIndeterminate property .
// Start the renderTimer // Stop the renderTimer
oldIsIndeterminate
bool
None
newIsIndeterminate
bool
None