Click here to Skip to main content
15,912,205 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi every body!
i have a problem in how to access App.Config value from Xaml file, please help me! thank you so much!
Posted
Comments
Sergey Alexandrovich Kryukov 19-Mar-14 0:47am    
The question simply makes no sense. What does it mean "from Xaml file"? why? and so on...
—SA

1 solution

it mean, i have a App.config containing a value as
<appsettings>
<add key="FlowDirection" value="LTR">


->how to get this value ('LTR') from from Xaml file


<setter property="FlowDirection">
Value="{Binding RelativeSource={RelativeSource Self}, Converter={StaticResource
FlowDirectionConverter}}, ConvertParameter = '...config value....'"/&gt;
</setter>
i want to binding value "LTR" to ConvertParameter
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900