Table of Contents

Class SpinEventArgs

Namespace
Avalonia.Controls
Assembly
Avalonia.Controls.dll

Provides data for the Spinner.Spin event.

public class SpinEventArgs : RoutedEventArgs
Inheritance
SpinEventArgs
Inherited Members

Constructors

SpinEventArgs(SpinDirection)

Initializes a new instance of the SpinEventArgs class.

public SpinEventArgs(SpinDirection direction)

Parameters

direction SpinDirection

Spin direction.

SpinEventArgs(SpinDirection, bool)

public SpinEventArgs(SpinDirection direction, bool usingMouseWheel)

Parameters

direction SpinDirection
usingMouseWheel bool

SpinEventArgs(RoutedEvent, SpinDirection)

public SpinEventArgs(RoutedEvent routedEvent, SpinDirection direction)

Parameters

routedEvent RoutedEvent
direction SpinDirection

SpinEventArgs(RoutedEvent, SpinDirection, bool)

public SpinEventArgs(RoutedEvent routedEvent, SpinDirection direction, bool usingMouseWheel)

Parameters

routedEvent RoutedEvent
direction SpinDirection
usingMouseWheel bool

Properties

Direction

Gets the SpinDirection for the spin that has been initiated by the end-user.

public SpinDirection Direction { get; }

Property Value

SpinDirection

UsingMouseWheel

Get or set whether the spin event originated from a mouse wheel event.

public bool UsingMouseWheel { get; }

Property Value

bool