UI component event rules
UI component event rules work in the same way as UI view event rules. However, the list of available events is more limited.
Available rules
Initialized
This rule is triggered when the UI component is initialized.
Disposed
This rule is triggered when the UI component is disposed.
ParameterChanged
This rule is triggered when the value of one of the UI component parameters has changed.
Arguments
| Name | Type | Description |
|---|---|---|
ParameterName |
string |
The name of the parameter whose value has changed. |
OldValue |
The type of the parameter. | The old value of the parameter. |
Value |
The type of the parameter. | The new value of the parameter. |