Is there any way to create a dynamic list of strings (based on language) in XAML?
Posted
by Xin
on Stack Overflow
See other posts from Stack Overflow
or by Xin
Published on 2010-04-15T00:28:30Z
Indexed on
2010/04/15
0:33 UTC
Read the original article
Hit count: 293
Silverlight
|xaml
Just wondering if it is possible to dynamically create a list of strings in XAML based on language/culture? Say if user logs in as an English user it shows Client Name, Order Number... and if user logs in as a Polish user it shows Nazwa klienta, Numer zamówienia instead?
I only know the hardcoded one like below:
<System_Collections_Generic:List`1 x:Key="columnNameList">
<System:String>Client Name</System:String>
<System:String>Order Number</System:String>
<System:String>Date</System:String>
</System_Collections_Generic:List`1>
© Stack Overflow or respective owner