Search
NotifyCollectionChangingEventArgs 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
Introduction
General Information
What's New In This Release
Version History
Getting Started
Code Completion With VSDoc IntelliSense
Programming Interface Overview
Tutorials
Reference
MindFusion.Common
Control Class
DateFormats Class
DateSettings Class
EventDispatcher Class
IdGenerator Class
Locale Class
NotifyCollectionChangedAction Class
NotifyCollectionChangedEventArgs Class
NotifyCollectionChangingEventArgs Class
NotifyCollectionChangingEventArgs Members
NotifyCollectionChangingEventArgs Constructor
NotifyCollectionChangingEventArgs Properties
PropertyEventArgs Class
UIControl Class
Unit Class
UnitType Enumeration
MindFusion.Common.Collections
MindFusion.Controls
MindFusion.Scheduling
Licensing
Online Resources
Technical Support
MindFusion Products

Provides data for CollectionChanging events.

Namespace: MindFusion.Common
Assembly: Events.js

## Syntax

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

## Example

The following code handles the collectionChanging 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.collectionChanging.addEventListener(handleCollectionChanging); function (handleCollectionChanging) (sender, args ) { if(args.action == m.NotifyCollectionChangedAction.Add) { args.cancel = true; } }

## Inheritance Hierarchy

MindFusion.Common.EventArgs
MindFusion.Common.CancelEventArgs
MindFusion.Common.NotifyCollectionChangingEventArgs

## See Also

NotifyCollectionChangingEventArgs Members
MindFusion.Common Namespace