Setting up a Date Picker

This exercise describes how to add a DatePicker:

  1. Click and drag a DatePicker from the Toolbox to the Design Sheet:
  2. Resize

    Click and drag the corners of the control to resize the control.

    Reposition

    Click and drag the handle (top-left) to reposition the control.

  1. You can set the data binding for the control, and adjust the alignment using the control tasks menu.
  2. Save your changes and click Run to run the form:

The DatePicker control provides the user with a calendar from which to select a date: