Search
ControlModifyingEventArgs.changes Property
See Also
 






Gets the changed properties of the control, associated with the event.

Namespace: MindFusion.Common.UI
File: EventArgs.js

 Syntax

JavaScript  Copy Code

get changes() {}

 Property Value

Object. An object containing the changed properties.

 Example

The following code handles the windowOpening event of a Window class.

JavaScript  Copy Code

var u = MindFusion.Common.UI;

window.windowOpening.addEventListener(windowOpeningEventHandler);

function windowOpeningEventHandler(sender, args)
{
  //if the window is minimized
  if(args.changes.windowState === u.WindowState.Minimized)
      args.cancel = true;
}

 See Also