MasterPanel.PropertyChanged

Syntax

PropertyChanged: function (sender,args)

Parameters

sender. Event source.

args. Event information. Available arguments:  the PP.Mb.Ui.PropertyChangedEventArgs class object containing the following properties: PropertyName - property name as the PP.Exp.Ui.ControlType enumeration element, Metadata - settings, TypeUpdateData - type of updated data which is set up using the PP.Exp.Ui.ViewTypeUpdate enumeration, Callback - callback function.

Description

The PropertyChanged event occurs after wizard panel setting change.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Handle the PropertyChanged event:

// Get dimension selection management wizard
var dimBarMaster = expressBox.getPropertyBarView().getDimBarMasterView();
// Display panel
dimBarMaster.show();
// Get current panel
var masterPanel = dimBarMaster.getActivePanel();
// Get array of custom menu elements
masterPanel.PropertyChanged.add(function (sender, args) { 
console.log("Changed property: " + args.getPropertyName()); });

After executing the example, after the PropertyChanged event occurs (for example, change of current dimension type) the browser console displays name of changed property.

See also:

MasterPanel