MindFusion.Charting for JavaScript Programmer's Guide
PropertyEventArgs Class
See Also
 






Provides data for PropertyValueChanged events.

Namespace: MindFusion.Common
File: Events.js

 Syntax

JavaScript  Copy Code

// class
PropertyEventArgs.prototype = {}

 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.newValue == "gray")
          {
             //do something
   }
     }
}

 Inheritance Hierarchy

MindFusion.Common.EventArgs
    MindFusion.Common.PropertyEventArgs

 See Also

PropertyEventArgs Members
MindFusion.Common Namespace