How to get current xaml name


I have a big bunch of old code that needs to be updated to current best practice guidelines, including starting each process with a logging message “Start [current xaml name]” and ending the process with “End [current xaml name]”.

I was wondering if I could do this dynamically so that I could have something to simply copy paste to all the many processes. Does anyone have a solution? Thanks

Hi @Kurnimaha

Refer this link

Regards, Arivu :slight_smile:

1 Like