Skip to main content

AvaloniaPropertyChangedEventArgs Class

Provides information for a avalonia property change.

Definition​

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public abstract class AvaloniaPropertyChangedEventArgs : EventArgs
View Source
InheritanceObject → EventArgs → AvaloniaPropertyChangedEventArgs
DerivedAvalonia.AvaloniaPropertyChangedEventArgs(T)

Constructors​

AvaloniaPropertyChangedEventArgs(AvaloniaObject, BindingPriority)Initializes a new instance of the AvaloniaPropertyChangedEventArgs class

Properties​

NewValueGets the new value of the property.
OldValueGets the old value of the property.
PriorityGets the priority of the binding that produced the value.
PropertyGets the property that changed.
SenderGets the AvaloniaObject that the property changed on.

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)
GetNewValue() 
GetOldValue() 
GetProperty() 
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)

Extension Methods​

GetNewValue(T)()Gets a typed value from NewValue.
(Defined by AvaloniaPropertyChangedExtensions)
GetOldAndNewValue(T)()Gets a typed value from OldValue and NewValue.
(Defined by AvaloniaPropertyChangedExtensions)
GetOldValue(T)()Gets a typed value from OldValue.
(Defined by AvaloniaPropertyChangedExtensions)

See Also​

Reference​

Avalonia Namespace