How to get event sender/source?

For example, an OnChange event for a text edit/box/area...a string "args" parameter is provided. Inside the event, is there any way to get the source component of the event?

Thanks!

The argument of this event (and all other input components) is the new value. If you are looking for something like browser event arguments this is not available.

On the other hand if you have assigned @ref you can pass it to a method like this:

Change=@(args => OnChange(args, textBox0))

Ah, this will work! Thank you!!