ASP.NET Pack Programmer's Guide
NotifyCollectionChangedAction Class
See Also
 





Specifies the type of the collection changed action.

Namespace: MindFusion.Mapping
Package: Events.js

 Syntax

JavaScript  Copy Code

// class
NotifyCollectionChangedAction.prototype = {}

 Example

The following code handles the collectionChanging event of the decorations property of a DecorationLayer object.

JavaScript  Copy Code

var m = MindFusion.Mapping;

markers.decorations.collectionChanging.addEventListener(handleCollectionChanging);


function (handleCollectionChanging) (sender, args )
{
     if(args.action == m.NotifyCollectionChangedAction.Add)
     {
          args.cancel = true;
     }
}

 Inheritance Hierarchy

MindFusion.Mapping.NotifyCollectionChangedAction

 See Also

NotifyCollectionChangedAction Members
MindFusion.Mapping Namespace