I am new to WPF and I am trying to create a simple toggle button in Dynamo.The sample Script I refereed is HelloDynamo (https://github.com/teocomi/HelloDynamo) .
I managed to get the node displayed in Dynamo, but currently the toggle doesn’t work , it always display false. I suspect there is a binding issue in WPF.
Node in Dynamo:
Main CS File:
Node View File:
Thank you !