Table of Contents

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, RadioButtonList, TextBox, Time, or TreeView.

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);