Providing Custom Looping Lists with the LoopingSelector
The previous section looked at the
TimePicker controls, whose base class,
DateTimePickerBase, relies on a simpler control called
LoopingSelector to display date and time values.
LoopingSelector provides all the functionality for an infinitely looping list of values.
LoopingSelector is not intended to be used day-to-day like other controls presented in this chapter, and as a result it resides in the Microsoft.Phone.Controls.Primitives namespace. Nonetheless, it is a useful control.
To use the control you must define a data source, which can be any object that implements
ILoopingSelectorDataSource interface defines the following four members: ...