src/Foundation/Presentation/Gimela.Presentation.Controls/Controls/Sprocket/SprocketControl.cs
/// <summary>
/// Coerces the TickCount value to an acceptable value
/// </summary>
/// <param name="d">SprocketControl</param>
/// <param name="value">New Value</param>
/// <returns>Coerced Value</returns>
Coerces the TickCount value to an acceptable value
Coerces the TickCount value to an acceptable value
private static object CoerceTickCount(DependencyObject d, object value)
    {
      int count = (int)value;
      if (count <= 0)
      {
        return DEFAULT_TICK_COUNT;
      }
      return value;
    }
private static object CoerceTickCount ( DependencyObject d , object value ) { int count = ( int ) value ; if ( count <= 0 ) { return DEFAULT_TICK_COUNT ; } return value ; }
Coerces the TickCount value to an acceptable value
Coerces the TickCount value to an acceptable value
None
d
DependencyObject
None
value
object
None