Connect with Expertise | Find Experts, Get Answers, Share Insights

Binding with Resource file(.resx) WPF

 
Join Date: Aug 2009
Posts: 16
#1: Dec 28 '09
Hi There
I m new to WPF. I have two projects
1)Project1(Windows project
2)Project 2(WPF project).

I have a strings.resx resource file in project1.I have created a new usercontrol in project2.There is a textblock control in this UserControl.Now How can I bind text of this TextBlock to key of strings.resx file.I wanna do it in XAML not in code.
I have added a reference of project1 in project2.

Please Help....

Reply

Tags
wpf .resx