SpinEventArgs Class
Provides data for the Spinner.Spin event.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public class SpinEventArgs : RoutedEventArgs
Public Class SpinEventArgs
Inherits RoutedEventArgs
type SpinEventArgs =
class
inherit RoutedEventArgs
end
| Inheritance | Object → EventArgs → RoutedEventArgs → SpinEventArgs |
Constructors
| SpinEventArgs(SpinDirection) | Initializes a new instance of the SpinEventArgs class. |
| SpinEventArgs(RoutedEvent, SpinDirection) | Initializes a new instance of the SpinEventArgs class |
| SpinEventArgs(SpinDirection, Boolean) | Initializes a new instance of the SpinEventArgs class |
| SpinEventArgs(RoutedEvent, SpinDirection, Boolean) | Initializes a new instance of the SpinEventArgs class |
Properties
| Direction | Gets the SpinDirection for the spin that has been initiated by the end-user. |
| Handled | Gets or sets a value indicating whether the routed event has already been handled. (Inherited from RoutedEventArgs) |
| Route | Gets or sets the routing strategy (direct, bubbling, or tunneling) of the routed event. (Inherited from RoutedEventArgs) |
| RoutedEvent | Gets or sets the routed event associated with these event args. (Inherited from RoutedEventArgs) |
| Source | Gets or sets the source object that raised the routed event. (Inherited from RoutedEventArgs) |
| UsingMouseWheel | Get or set whether the spin event originated from a mouse wheel event. |
Methods
| Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetHashCode() | Serves as the default hash function. (Inherited from Object) |
| GetType() | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object) |
| ToString() | Returns a string that represents the current object. (Inherited from Object) |