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.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…