Вопрос

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