Raise OnReset when value changes

Custom properties have a setting called Raise OnReset when value changes. If this setting has to be used depends on your situation. This setting can be enabled on multiple custom properties.

What happens is exactly what the title implies. When the value of the custom property changes, the logic added to the property OnReset of the canvas component is executed.

It is also possible to manually trigger the logic added to the property OnReset of the canvas component. The way to do this is from the canvas app by executing the following expression:

Reset(<component>)

, where <component> is the name of the canvas component instance in the canvas app.

I have created a video with an example about the topic of this content page.

Video

This video demonstrates the “Raise OnReset when value changes” setting of a custom property of a canvas component:

Feedback

Please enable JavaScript in your browser to complete this form.

You can use the form below to submit feedback if you think that content on this page:

  • is wrong. Please then also provide what is wrong and why.
  • could be more comprehensive. Please then also provide which content should be added/updated.

Thank you!