I'm trying to put an image on a RadRadioButton and am getting a warning when I build saying "The file 'Images/1Zone.png' is not part of the project or its 'Build Action' property is not set to 'Resource'".
I've checked the property, and it is set to Resource. I've added the file and even checked it into TFS. It is in the project. I can modify the image source to point to another file in the folder and it displays. It is a .jpg file, so I made a copy of my file as a .jpg and that didn't work. I'm not sure at this point what I am doing wrong. Anyone have any ideas?
My xaml code:
Attached is a screen shot of my Solution Explorer showing the file is there.
Thanks for any help
Lisa
I've checked the property, and it is set to Resource. I've added the file and even checked it into TFS. It is in the project. I can modify the image source to point to another file in the folder and it displays. It is a .jpg file, so I made a copy of my file as a .jpg and that didn't work. I'm not sure at this point what I am doing wrong. Anyone have any ideas?
My xaml code:
<
telerik:RadRadioButton
Height
=
"40"
HorizontalAlignment
=
"Left"
Margin
=
"6,29,0,0"
Name
=
"radioButton1"
VerticalAlignment
=
"Top"
Click
=
"radioButton1_Click_1"
>
<
Image
x:Name
=
"btnImage1"
Source
=
"Images/1Zone.png"
/>
</
telerik:RadRadioButton
>
Attached is a screen shot of my Solution Explorer showing the file is there.
Thanks for any help
Lisa