Class AvaloniaPropertyChangedEventArgs
- Namespace
- Avalonia
- Assembly
- Avalonia.Base.dll
Provides information for a avalonia property change.
public abstract class AvaloniaPropertyChangedEventArgs : EventArgs
- Inheritance
-
AvaloniaPropertyChangedEventArgs
- Derived
- Inherited Members
- Extension Methods
Constructors
AvaloniaPropertyChangedEventArgs(AvaloniaObject, BindingPriority)
public AvaloniaPropertyChangedEventArgs(AvaloniaObject sender, BindingPriority priority)
Parameters
sender
AvaloniaObjectpriority
BindingPriority
Properties
NewValue
Gets the new value of the property.
public object? NewValue { get; }
Property Value
OldValue
Gets the old value of the property.
public object? OldValue { get; }
Property Value
Priority
Gets the priority of the binding that produced the value.
public BindingPriority Priority { get; }
Property Value
- BindingPriority
The priority of the new value.
Property
Gets the property that changed.
public AvaloniaProperty Property { get; }
Property Value
- AvaloniaProperty
The property that changed.
Sender
Gets the AvaloniaObject that the property changed on.
public AvaloniaObject Sender { get; }
Property Value
- AvaloniaObject
The sender object.
Methods
GetNewValue()
protected abstract object? GetNewValue()
Returns
GetOldValue()
protected abstract object? GetOldValue()
Returns
GetProperty()
protected abstract AvaloniaProperty GetProperty()