Binding with Resource file(.resx) WPF

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mahendra dubey
    New Member
    • Aug 2009
    • 16

    #1

    Binding with Resource file(.resx) WPF

    Hi There
    I m new to WPF. I have two projects
    1)Project1(Wind ows 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....
Working...