Gets or sets a value indicating whether to allow the current operation.
Namespace: MindFusion.Mapping
Package: Events.js
JavaScript Copy Code |
---|
Object.defineProperty(CancelEventArgs.prototype, "cancel", { value: Boolean }); |
Boolean. true to cancel the operation; otherwise, false.
The following code handles the collectionChanging event of the decorations property of a DecorationLayer. The handler receives an argument of type NotifyCollectionChangingEventArgs, which derives from CancelEventArgs:
JavaScript Copy Code |
---|
var m = MindFusion.Mapping;
|