src/Foundation/Presentation/Gimela.Presentation.Controls/Controls/Sprocket/SprocketControl.cs
/// <summary>
/// Handles changes to the Rotation property.
/// </summary>
/// <param name="d">SprocketControl</param>
/// <param name="e">DependencyProperty changed event arguments</param>
Handles changes to the Rotation property.
Handles changes to the Rotation property .
private static void OnRotationChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
    {
      SprocketControl sprocket = (SprocketControl)d;
      Direction oldRotation = (Direction)e.OldValue;
      Direction newRotation = sprocket.Rotation;
      sprocket.OnRotationChanged(oldRotation, newRotation);
    }
private static void OnRotationChanged ( DependencyObject d , DependencyPropertyChangedEventArgs e ) { SprocketControl sprocket = ( SprocketControl ) d ; Direction oldRotation = ( Direction ) e . OldValue ; Direction newRotation = sprocket . Rotation ; sprocket . OnRotationChanged ( oldRotation , newRotation ) ; }
Handles changes to the Rotation property.
Handles changes to the Rotation property .
d
DependencyObject
None
e
DependencyPropertyChangedEventArgs
DependencyProperty changed event arguments
DependencyProperty changed event arguments