src/Foundation/Presentation/Gimela.Presentation.Controls/Controls/Sprocket/SprocketControl.cs
/// <summary>
/// Coerces the TickWidth value so that it stays above 0.
/// </summary>
/// <param name="d">SprocketControl</param>
/// <param name="value">New Value</param>
/// <returns>Coerced Value</returns>
Coerces the TickWidth value so that it stays above 0.
Coerces the TickWidth value so that it stays above 0 .
private static object CoerceTickWidth(DependencyObject d, object value)
    {
      double progress = (double)value;
      if (progress < 0.0)
      {
        return DEFAULT_TICK_WIDTH;
      }
      return value;
    }
private static object CoerceTickWidth ( DependencyObject d , object value ) { double progress = ( double ) value ; if ( progress < 0.0 ) { return DEFAULT_TICK_WIDTH ; } return value ; }
Coerces the TickWidth value so that it stays above 0.
Coerces the TickWidth value so that it stays above 0 .
None
d
DependencyObject
None
value
object
None