AvaloniaPropertyChangedEventArgs<T> Class
Provides information for an Avalonia property change.
Definition
Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public class AvaloniaPropertyChangedEventArgs<T> : AvaloniaPropertyChangedEventArgs
Public Class AvaloniaPropertyChangedEventArgs(Of T)
Inherits AvaloniaPropertyChangedEventArgs
type AvaloniaPropertyChangedEventArgs<'T> =
class
inherit AvaloniaPropertyChangedEventArgs
end
Inheritance | Object → 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
NewValue | Gets the new value of the property. |
OldValue | Gets the old value of the property. |
Priority | Gets the priority of the binding that produced the value. (Inherited from AvaloniaPropertyChangedEventArgs) |
Property | Gets the property that changed. |
Sender | Gets 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) |