Skip to main content

RangeBaseValueChangedEventArgs Class

Definition​

Assembly:Avalonia.Controls
Package:Avalonia

Provides data specific to a Avalonia.Controls.Primitives.RangeBase.ValueChanged event.

public class RangeBaseValueChangedEventArgs

Inheritance: EventArgs -> RoutedEventArgs -> RangeBaseValueChangedEventArgs

Constructors​

RangeBaseValueChangedEventArgs overloads​

RangeBaseValueChangedEventArgs Constructor​

Initializes a new instance of the Avalonia.Controls.Primitives.RangeBaseValueChangedEventArgs class.

public RangeBaseValueChangedEventArgs(double oldValue, double newValue, Avalonia.Interactivity.RoutedEvent routedEvent)
Parameters​

oldValue double

The old value of the range value property.

newValue double

The new value of the range value property.

routedEvent Avalonia.Interactivity.RoutedEvent

The routed event associated with these event args.

RangeBaseValueChangedEventArgs Constructor​

Initializes a new instance of the Avalonia.Controls.Primitives.RangeBaseValueChangedEventArgs class.

public RangeBaseValueChangedEventArgs(double oldValue, double newValue, Avalonia.Interactivity.RoutedEvent routedEvent, object source)
Parameters​

oldValue double

The old value of the range value property.

newValue double

The new value of the range value property.

routedEvent Avalonia.Interactivity.RoutedEvent

The routed event associated with these event args.

source object

The source object that raised the routed event.

Properties​

NameDescription
HandledGets or sets a value indicating whether the routed event has already been handled. Inherited from RoutedEventArgs.
NewValueGets the new value of the range value property.
OldValueGets the old value of the range value property.
RouteGets or sets the routing strategy (direct, bubbling, or tunneling) of the routed event. Inherited from RoutedEventArgs.
RoutedEventGets or sets the routed event associated with these event args. Inherited from RoutedEventArgs.
SourceGets or sets the source object that raised the routed event. Inherited from RoutedEventArgs.

NewValue Property​

Gets the new value of the range value property.

public double NewValue { get; set; }

OldValue Property​

Gets the old value of the range value property.

public double OldValue { get; set; }