using System; using System.Windows; namespace Microsoft.Windows.Controls { /// /// Provides data for the Spinner.Spin event. /// /// Preview public class SpinEventArgs : RoutedEventArgs { /// /// Gets the SpinDirection for the spin that has been initiated by the /// end-user. /// public SpinDirection Direction { get; private set; } /// /// Initializes a new instance of the SpinEventArgs class. /// /// Spin direction. public SpinEventArgs(SpinDirection direction) : base() { Direction = direction; } } }