New to Telerik UI for WinForms? Download free 30-day trial

Getting Started

The following tutorial demonstrates basic usage of RadDateTimePicker, formatting and applying themes.

  1. Drop RadDateTimePicker on the form.

    editors-datetimepicker-getting-started 002

  2. In the Properties window use the drop down calendar to set the MinDate property to the first day of the current month.

    editors-datetimepicker-getting-started 003

  3. Set the MaxDate property to be the last day of the current month.

    editors-datetimepicker-getting-started 004

  4. Set the Format property to Short.

    editors-datetimepicker-getting-started 005

  5. Drag Office2010BlackTheme on the form

    editors-datetimepicker-getting-started 006

  6. Set the ThemeName property to Office2010Black.

    editors-datetimepicker-getting-started 007

  7. Press F5 to run the application. You will only be able to pick dates that are within the current month, the drop down calendar will display in the Office2010BlackTheme theme and the date will display in short format.

Figure 1: RadDateTimePicker with the Office2010Black theme.

editors-datetimepicker-getting-started 001

See Also

In this article