I am writing a C# desktop program (.Net Framework). In my MainWindow.xaml
file, I have the following as a part of my <Window>
tag:
Later in this file, I can then use:
to get a String value for Title
.
I have now created a Configure.xaml
file and a Configure.resx
file as I would like to separate the two sets of strings (one for MainWindow
and one for Configure
).
For the <Window>
tag in my Configure.xaml
file, what value do I need to put in my xmlns:properties
attribute in order to reference the Configure.resx
file:
and then how would I reference my Location
value that has been defined in Configure.resx
:
Is this possible?
Thanks.
no comments yet
Be the first to share what you think!
C# devs
null reference exceptions