Property WantsOnChange
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
WantsOnChange
Gets or sets a value indicating whether an update of the current value of the dialog box item will trigger an OnChange event.
public bool WantsOnChange { get; set; }
Property Value
- bool
true
if an update of the current value of the dialog box item will trigger an OnChange event; otherwise,false
.
Examples
Applicable only when Type is set to either Button, Calendar, Checkbox, CheckBoxList, DropDown, Numeric, PasswordBox (from DataMiner 9.6.6 onwards), RadioButtonList (from DataMiner 9.6.6 onwards), TextBox (from DataMiner 9.5.3 onwards), Time or TreeView (from DataMiner 10.0.10 onwards).
Note: A button will always trigger an OnChange event, regardless of what you specify for the WantsOnChange attribute.
UIBlockDefinition blockItem = new UIBlockDefinition();
blockItem.Type = UIBlockType.CheckBox;
blockItem.WantsOnChange = true;
uibDialogBox1.AppendBlock(blockItem);