문제

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