MindFusion.Charting for JavaScript Programmer's Guide
PropertyEventArgs.oldValue Property
See Also
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: None Language Filter: C# Language Filter: Visual Basic Language Filter: Java Language Filter: JavaScript Language Filter: C++ Language Filter: XAML

C#
Visual Basic
Java
JavaScript
C++
XAML

Gets the value of the property before the change.

Namespace: MindFusion.Common
File: Events.js

## Syntax

JavaScript Copy Code
get oldValue() {}

### Property Value

Type: Object
Object. The old property value.

## Example

The following code handles the propertyValueChanged event for a Calendar instance.

JavaScript Copy Code
calendar.propertyValueChanged.addEventListener(handlePropertyChanged); function handlePropertyChanged (sender, args ) { if(args.propertyName === "theme") { if(args.oldValue == "gray") { //do something } } }

## See Also

PropertyEventArgs Members
PropertyEventArgs Class
MindFusion.Common Namespace