setEnabledSettings(args: PP.Ui.PropertyChangedEventArgs);
args. Settings of panel availability in speedometer wizard.
The setEnabledSettings method determines settings of availability of the Dynamic Highlight panel in speedometer wizard.
To execute the example, the page must contain the GaugeMaster component named master (see Example of Creating a Speedometer with a Wizard). Make the Dynamic Highlight panel available in speedometer wizard:
// Get the Dynamic Highlight panel var panel = master.getItem(PP.Ui.LightBrushPanel); // Expand the panel panel.expand(); // Determine panel settings var args = new PP.Ui.PropertyChangedEventArgs({ PropertyName: "GaugeSettings", Metadata: [{ Name: "gaugeMaster.brushPanel.globalEnable", Value: True }, { Name: "gaugeMaster.brushPanel.enable", Value: True }] }); // Make the panel available panel.setEnabledSettings(args);
After executing the example the panel for speedometer dynamic highlight setup becomes available:
See also: