I have DatePicker from this article:http://www.windowsphonegeek.com/articles/wp7-datepicker-and-timepicker-in-depth--api-and-customization. There is one quote:

The toolkit provides the necessary icons, but you have to copy them from the PhoneToolkitSample project. They must be named "ApplicationBar.Cancel.png" and "ApplicationBar.Check.png", and the build action must be "Content"!

I don't know how to set build action as "Content" in Visual Studio 2010 for Windows Phone 7. Does somebody know how to do it?

有帮助吗?

解决方案

This is '12, but its exactly the same.

enter image description here

Add your image to your project. Make sure it's selected, then open the Properties window. Under "Build Action", select "Content".

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top