Search
ControlModifyingEventArgs Class
Remarks See Also
 






Specifies data for validation events, related to control changes.

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

 Syntax

JavaScript  Copy Code

// class
ControlModifyingEventArgs.prototype = {}

 Remarks

Events that use the ControlModifyingEventArgs as event data are tooltipHiding and tooltipShowing of the ToolTip class, windowOpening and windowClosing events of WindowBase and more.

 Example

The following sample handles the tooltipHiding event:

JavaScript  Copy Code

var tooltip = new ui.Tooltip(window.element);
tooltip.trigger = ui.TooltipTrigger.Focus;
tooltip.position = ui.TooltipPosition.Cursor;
tooltip.text = "Map of the European Union";

tooltip.tooltipHiding.addEventListener(tooltipHidingEventHandler);


function tooltipHidingEventHandler(sender, args)
{
  if(sender == tooltip1)
      args.cancel = true;
}

 Inheritance Hierarchy

MindFusion.Common.UI.EventArgs
    MindFusion.Common.UI.CancelEventArgs
        MindFusion.Common.UI.ControlModifyingEventArgs

 See Also