Years' ComboBox WP7
I'm actually working on a Windows Phone 7 application that contains a few comboBox, in one of them "a years ComboBox".I want to insert a loop in that comboBox that should contain years from 1919 till the present year.How开发者_开发知识库 should i proceed?
I would take a look at the Silverlight Toolkit for Windows Phone. It contains a DatePicker
bring up a looping/scrolling date/month/year selector, emulating the feel of the native applications. Since the source is available, you could use this as a starting point to create your own "year selector" from the components.
Check out this blog from Telerik on how to accomplish the looping effect. Essentially it is just a list with a virtualized data source.
精彩评论