MindFusion.Charting for JavaScript Programmer's Guide
NotifyCollectionChangedEventArgs Class
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

Provides data for CollectionChanged events.

Namespace: MindFusion.Common
File: Events.js

## Syntax

JavaScript Copy Code
// class NotifyCollectionChangedEventArgs.prototype = {}

## Example

The following code handles the collectionChanged event of the decorations property of a DecorationLayer object in a Map.

JavaScript Copy Code
var m = MindFusion.Mapping; var markers = new m.DecorationLayer("Images"); ................... //add some Marker-s to the decorations property ...................... markers.decorations.collectionChanged.addEventListener(handleCollectionChanged); function (handleCollectionChanged) (sender, args ) { if(args.newItems.contains(mark)) { //do something } }

## Inheritance Hierarchy

MindFusion.Common.EventArgs
MindFusion.Common.NotifyCollectionChangedEventArgs

## See Also

NotifyCollectionChangedEventArgs Members
MindFusion.Common Namespace