Quantcast
Channel: WPF Localization Extension
Viewing all articles
Browse latest Browse all 286

New Post: Fetch Key

$
0
0
Is there a possiblity to fetch the used key in code behind?

So for example:

<TextBlock Text="{lex:loc MyAssembly:MyResourceFile:MyKey}" />

In code behind I would like to fetch/read the specified value.

What I need this for?
I am trying to have a clickevent for several controls and would like to distingish them between their provided keys, so without tags/names or stuff.

Viewing all articles
Browse latest Browse all 286

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>