PropertyChangedEventArgs.Cancel

Syntax

Cancel();

Description

The Cancel method cancels event fired on property value change.

Example

To execute the example, the HTML page must contain the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component) and with the loaded table in the express report workspace. Cancel the table properties change event fired on hiding the table headers. To do this, rewrite the onPropertyChanged function in the example given in the constructor description page, as follows:

var onPropertyChanged = function (sender, args) {        
    // Cancel property change event
    args.Args.Cancel();
    // Call the PropertyChanged event
    gridView.PropertyChanged.fire(gridView, args.Args);
};

After executing the example the PropertyChanged table property change event is cancelled, and therefore express report table titles remain visible:

See also:

PropertyChangedEventArgs