Dynamically getting name of the current xaml

Hi All,
Is there any way by which I get dynamically get the current xaml file name. If yes, how can i get that. I read multiple thread around this but it was not very clear. Can you please help. I read your post @andrzej.kniola. Can you please share the xaml or nuget package please.

Hi amitbhatt55,
i postet a solution today in this topic: