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

Getting Started with WinForms DateTimePicker

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

  1. Drop RadDateTimePicker on the form.

    WinForms RadDateTimePicker ToolBox Drag Drop

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

    WinForms RadDateTimePicker Properties

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

    WinForms RadDateTimePicker MaxDate Property

  4. Set the Format property to Short.

    WinForms RadDateTimePicker Format Property

  5. Drag Office2010BlackTheme on the form

    WinForms RadDateTimePicker ToolBox DragDrop Office2010BlackTheme

  6. Set the ThemeName property to Office2010Black.

    WinForms RadDateTimePicker ThemeName Property

  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.

WinForms RadDateTimePicker With The Office00Black Theme

See Also

Telerik UI for WinForms Learning Resources

In this article