Skip to main content

AvaloniaPropertyChangedEventArgs<T> Class

Definition

Namespace:Avalonia
Assembly:Avalonia.Base
Package:Avalonia

Provides information for an Avalonia property change.

public class AvaloniaPropertyChangedEventArgs<T>

Inheritance: EventArgs -> AvaloniaPropertyChangedEventArgs -> AvaloniaPropertyChangedEventArgs<T>

Constructors

NameDescription
AvaloniaPropertyChangedEventArgs<T>No summary available.

AvaloniaPropertyChangedEventArgs<T> Constructor

public AvaloniaPropertyChangedEventArgs<T>(Avalonia.AvaloniaObject sender, Avalonia.AvaloniaProperty<TValue><T> property, Avalonia.Data.Optional<T><T> oldValue, Avalonia.Data.BindingValue<T><T> newValue, Avalonia.Data.BindingPriority priority)

Parameters

sender Avalonia.AvaloniaObject

property Avalonia.AvaloniaProperty<TValue><T>

oldValue Avalonia.Data.Optional<T><T>

newValue Avalonia.Data.BindingValue<T><T>

priority Avalonia.Data.BindingPriority

Properties

NameDescription
NewValueGets the new value of the property.
OldValueGets the old value of the property.
PropertyGets the property that changed.
PriorityGets the priority of the binding that produced the value. Inherited from AvaloniaPropertyChangedEventArgs.
SenderGets the Avalonia.AvaloniaObject that the property changed on. Inherited from AvaloniaPropertyChangedEventArgs.

NewValue Property

Gets the new value of the property.

public Avalonia.Data.BindingValue<T><T> NewValue { get; set; }

OldValue Property

Gets the old value of the property.

public Avalonia.Data.Optional<T><T> OldValue { get; set; }

Property Property

Gets the property that changed.

public Avalonia.AvaloniaProperty<TValue><T> Property { get; set; }

Value

The property that changed.