Skip to main content

AvaloniaPropertyChangedEventArgs<T> Class

Provides information for an Avalonia property change.

Definition​

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

public class AvaloniaPropertyChangedEventArgs<T> : AvaloniaPropertyChangedEventArgs

View Source
InheritanceObject → EventArgs → AvaloniaPropertyChangedEventArgs → AvaloniaPropertyChangedEventArgs(T)

Type Parameters​

Constructors​

AvaloniaPropertyChangedEventArgs(T)(AvaloniaObject, AvaloniaProperty(T), Optional(T), BindingValue(T), 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.
(Inherited from AvaloniaPropertyChangedEventArgs)
PropertyGets the property that changed.
SenderGets the AvaloniaObject that the property changed on.
(Inherited from AvaloniaPropertyChangedEventArgs)

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