Problem of using a one shot button in a template

Hi everyone.
can you please help me
I want to use a one-shot button on a template to control a property of a data type, but I can’t achieve it.
Can someone give me an example. thanks

Try binding bi-directionally to a property rather than an expression?

1 Like

thanks you. now it’s working.