AutomationPropertyChangedEventArgs.OldValue Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the old value of a property that has changed.

Namespace:   System.Windows.Automation
Assembly:  UIAutomationTypes (in UIAutomationTypes.dll)

public object OldValue { get; }

Property Value

Type: System.Object

The previous value of the property, or null (Nothing in Microsoft Visual Basic .NET) if the previous value is not readily available.

UI Automation clients must cast the value to the appropriate type for the property.

.NET Framework
Available since 3.0
Return to top