aspnet-devexpress-dot-web-92d306fa.md
Lists values specifying a date component an end user can select (a day, month, decade or year) in the calendar.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
public enum DatePickerType
Public Enum DatePickerType
| Name | Description |
|---|---|
NotSet |
The date picker type is not set. In this case:
|
| Days |
An end user can select a day in the calendar.
|
| Months |
An end user selects a month in the calendar.
|
| Years |
An end user selects a year in the calendar.
|
| Decades |
An end user selects a decade in the calendar.
|
The following properties accept/return DatePickerType values:
<dx:ASPxDateEdit runat="server" ID="dateEdit2" PickerType="Months">
<CalendarProperties>
<FastNavProperties InitialView="Years" MaxView="Years" />
</CalendarProperties>
</dx:ASPxDateEdit>
See Also