C# Class a7DocumentDbStudio.Controls.a7WaitSpinner

A spinning busy state indicator.
Inheritance: System.Windows.Controls.ContentControl
Show file Open project: alekkowalczyk/a7DocumentDbStudio Class Usage Examples

Public Properties

Property Type Description
AngleProperty System.Windows.DependencyProperty
DisabledBackgroundBrushProperty System.Windows.DependencyProperty
DisabledLeaderBrushProperty System.Windows.DependencyProperty
DisabledTailBrushProperty System.Windows.DependencyProperty
LeaderBrushProperty System.Windows.DependencyProperty
SpinAngleProperty System.Windows.DependencyProperty
SpinDirectionProperty System.Windows.DependencyProperty
SpinProperty System.Windows.DependencyProperty
SpinRateProperty System.Windows.DependencyProperty
SpinningPropertyKey System.Windows.DependencyPropertyKey
TailBrushProperty System.Windows.DependencyProperty

Private Properties

Property Type Description
AngleCoerceCallback Object
BeginSpinningAnimation void
ControlSpinning void
DecelerateAndStopTheAnimation void
IsEnabledChangedHandler void
OnAnglePropertyChanged void
OnSpinPropertyChanged void
OnSpinRatePropertyChanged void
OnSpinningPropertyChanged void
ReBeginAnimation void
RemoveAnimation void
SetDisabledBrushes void
SetSpinRate void
SpinContinuously void
SpinRateCoerceCallback Object
a7WaitSpinner System

Private Methods

Method Description
AngleCoerceCallback ( DependencyObject d, Object baseValue ) : Object
BeginSpinningAnimation ( ) : void

Begins, or re-begins the spin animation.

ControlSpinning ( SpinCommand spinCommand ) : void

Turns Spinning on and off

DecelerateAndStopTheAnimation ( ) : void

Transitions to the declerating state to stop the animation

IsEnabledChangedHandler ( Object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Handles the state change between the enabled and disabled states.

OnAnglePropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnSpinPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnSpinRatePropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnSpinningPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
ReBeginAnimation ( object sender, EventArgs e ) : void

Called when the animation has slowed to a stop. Removes the animation

This should only be called from the spinAnimationCompleted event.

RemoveAnimation ( object sender, EventArgs e ) : void

Called when the animation has slowed to a stop. Removes the animation

This should only be called from the spinAnimationCompleted event.

SetDisabledBrushes ( ) : void
SetSpinRate ( double rate ) : void

Sets the spin rate on a running spinner

SpinContinuously ( object sender, EventArgs e ) : void

Updates the animation to spin continuously

SpinRateCoerceCallback ( DependencyObject d, Object baseValue ) : Object
a7WaitSpinner ( ) : System

Property Details

AngleProperty public static property

public static DependencyProperty,System.Windows AngleProperty
return System.Windows.DependencyProperty

DisabledBackgroundBrushProperty public static property

public static DependencyProperty,System.Windows DisabledBackgroundBrushProperty
return System.Windows.DependencyProperty

DisabledLeaderBrushProperty public static property

public static DependencyProperty,System.Windows DisabledLeaderBrushProperty
return System.Windows.DependencyProperty

DisabledTailBrushProperty public static property

public static DependencyProperty,System.Windows DisabledTailBrushProperty
return System.Windows.DependencyProperty

LeaderBrushProperty public static property

public static DependencyProperty,System.Windows LeaderBrushProperty
return System.Windows.DependencyProperty

SpinAngleProperty public static property

public static DependencyProperty,System.Windows SpinAngleProperty
return System.Windows.DependencyProperty

SpinDirectionProperty public static property

public static DependencyProperty,System.Windows SpinDirectionProperty
return System.Windows.DependencyProperty

SpinProperty public static property

public static DependencyProperty,System.Windows SpinProperty
return System.Windows.DependencyProperty

SpinRateProperty public static property

public static DependencyProperty,System.Windows SpinRateProperty
return System.Windows.DependencyProperty

SpinningPropertyKey public static property

public static DependencyPropertyKey,System.Windows SpinningPropertyKey
return System.Windows.DependencyPropertyKey

TailBrushProperty public static property

public static DependencyProperty,System.Windows TailBrushProperty
return System.Windows.DependencyProperty