473,320 Members | 2,083 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Binding with Resource file(.resx) WPF

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....
Dec 28 '09 #1
0 2621

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: gg | last post by:
Hello, who can tell me how to use the Resource Assembly File (*.resx) in a project. For example: I define a item Name :"TestString" Vale "1234567890" in a Resource Assembly File(test.resx). How...
2
by: Leon Gorbaty [Bentley] | last post by:
I'm surprised not to find this option under Add>New item, etc. It gives you an option for a *.rc Resource file, but not a typical .NET resource. If I add one manually, I don't see any way of...
0
by: John Biddiscombe | last post by:
Apologies if this is the wrong ng for this question. If you remove a form .cpp/.h/.resx file from a project and add it to another one. The .h and .resx files aren't "linked" so you can't visually...
2
by: simchajoy2000 | last post by:
I have found information about how to create res files but how do I create a resource file for VB.NET (*.resx files)? Joy
3
by: al | last post by:
Hi, I use a resource file (.resx) to store user's settings such as language and other strings. The problem i'm facing is that when the user changes one of the strings in the resource file, ...
0
by: prabhupr | last post by:
Hi Folks I'm currently working on a Localization+Globalization project; for this project, we need to generate ".Resx" files and we use "US English" Resx file as the base version, to compare the...
12
by: TS | last post by:
i have a need to possibly enable mutli language support. What benefit do i get by using a resource file instead of a custom xml solution? thanks!
0
by: Piotrekk | last post by:
Hi How do i load all images from Resource.resx to Imagelist? I know how to assign images to buttons in code ( App.Properties.Resources.imagename ), but I need to load all images and search them...
8
by: raylopez99 | last post by:
I have the latest version of Visual Studio 2008 Professional, which allows you to create resource files (this is the .resx file, no?), unlike the Express version, which does not. I am trying to...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.