Accessing components within a template instance

Hi,

i have a window. In this windows i added a CustomTemplate and a Button.
Is there any way to access to a component property inside the CustomTemplate using scripting on button? Or the only way is to use a CustomProperty in Template and bind it to component property?

It is definitely possible.
Have a look here:

edit: updated doc link.

2 Likes

Thanks!! tomorrow i’m going to test it!