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