What you’re doing up there will not work.
Now I want to know which element called the event
- inside the
TileUITemplate
, add anEvent Dispatcher
with any data signature that you need - still inside the
TileUITemplate
, have theonCheckStateChanged
call the dispatcher you added, pipe in the state of the checkbox and any other data (you could even send aSelf
reference - but it seems you want a string) - when binding (as in your screenshot above) rather than binding to the native
onCheckStateChanged
, bind the event toTileUITemplate
directly