AvaloniaPropertyChangedExtensionsGetOldValueT Method

Gets a typed value from OldValue.

Definition

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static T GetOldValue<T>(
	this AvaloniaPropertyChangedEventArgs e
)

Parameters

e  AvaloniaPropertyChangedEventArgs
The event args.

Type Parameters

T
The value type.

Return Value

T
The value.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type AvaloniaPropertyChangedEventArgs. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also