Answer the question
In order to leave comments, you need to log in
How to assign Source in WPF?
Good time of the day. Prompt please,
in Windows Forms it is possible to appropriate Source to PictureBox thus:
Properties.Resources._0;
where "_0" is the name of the image loaded from Resources
How to do it in WPF only to image
Answer the question
In order to leave comments, you need to log in
You need to include the namespace in the XAML headers, something like this:
<UserControl x:Class="..."
...
xmlns:res="clr-namespace:<namespace_проекта>.Properties"
...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question