DateSelector is the control which can be used to select date from the list.

Project is now included into the Vodnev WPF Controls Micro Pack


DateSelectorDefault.jpg
Picture 1. DateSelector example application with all properties in their default values.

DateSelector has several important members:
You can use one of predefined templates via ControlStyle property. Today only “Default”, “Touchscreen” and "TouchscreenYearOnly" templates are available, and you also can create your own. An example of custom template is included into the demo application (DateSelectorCustomTemplateDictionary.xaml).

If MinimumYear property value is greater than MaximumYear, last assigned value will be used for both MinimumYear and MaximumYear.
LocaleName gets and sets months names language. If no value is assigned, CultureInfo.CurrentCulture will be used.

DateSelectorTouchscreen.jpg
Picture 2. DateSelector with ControlStyle.Touchscreen and LocaleName “it-IT”.

DateSelectorCustomTemplate.jpg
Picture 3. DateSelector with custom template applied.