I am trying to add event handlers to an element, but it's not successful...
So I would like to be able to verify whether or not a handler is actually applied. I.e. Console.WriteLine(tile.Element.HandlerX.ToString())
.
I know I am targeting the correct element as it other element manipulation does work.
Is there any way to do this?
Best regards!
Solution for me: I did not figure out how to do what I required. But I added a button, and the button didn't work, so I realized that probably the Frame is not working. And I remembered that once upon a time, I had turned off IsHitTestVisible. Thus, the mouse pointer could not interact with the elements I wanted to interact with.
Question Solution: So the question is quite unanswered, apart from @McNets comment for reflection, but I am unaware on how to implement that. Here's the link to the thread that brought a similar question: How to easilly see number of event subscriptions while debugging? But as it stands, the reason for me needing this is no longer relevent.