Get values from *.resx files in XAML

Posted by nihi_l_ist on Stack Overflow See other posts from Stack Overflow or by nihi_l_ist
Published on 2010-05-27T07:57:36Z Indexed on 2010/05/27 8:11 UTC
Read the original article Hit count: 180

Filed under:
|
|
|

Is it possible to add some value from resource file right into the XAML markup? Or for localization we always have to make something like this in *.cs file:

txtMessage.Text = Messages.WarningUserMessage;

Where Messages is resource, and txtMessage is TextBlock.

© Stack Overflow or respective owner

Related posts about c#

Related posts about xaml